aws-solutions / instance-scheduler-on-aws

A cross-account and cross-region solution that allows customers to automatically start and stop EC2 and RDS Instances
https://aws.amazon.com/solutions/implementations/instance-scheduler-on-aws/
Apache License 2.0
542 stars 264 forks source link

Organisation mode and exclude account #537

Closed rootops closed 4 months ago

rootops commented 4 months ago

Hello,

To simplify the deployment and not be confronted with the character string limitation in Remote Account IDs, I would like to use the Organization ID in the deployment and at the same time exclude some accounts, do you have an idea how to do this?

Thank you :) Regards, MB

CrypticCabub commented 4 months ago

What do you mean by excluding accounts? If you use the organizition-id approach, any spoke stacks deployed to the same organization will be automatically registered with the hub account, but accounts that have not had the spoke stack deployed to them will not be scheduled.

rootops commented 4 months ago

thank you for reply

CrypticCabub commented 4 months ago

no problem. So was the spoke stack requirement for registration sufficient to cover your use case?

If so, I'll go ahead and close this issue. Please re-open if you have any further questions.