Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support regions all #204

Open
sigJoe opened this issue Oct 31, 2024 · 1 comment
Open

Support regions all #204

sigJoe opened this issue Oct 31, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@sigJoe
Copy link

sigJoe commented Oct 31, 2024

Is your feature request related to a problem? Please describe.
I've got a few different things that I want deployed by CTC to every enabled region. Every time there's a new region it's frustrating to have to go and update the region list for each of them and cross-check to make sure none are missing. It would be nice to have a special string that enables deploy to every region.

Describe the feature you'd like

  - name: MyThing
    description: This thing goes to every region
    resource_file: my-thing-template.yaml
    deploy_method: stack_set
    parameters:
      - parameter_key: foo
        parameter_value: bar
    deployment_targets:
      organizational_units:
        - Production
    regions:
      - all_enabled # <-- This is the feature request

Additional context
I imagine it would involve a bunch of extra querying and processing that you wouldn't want to do. I'd be satisfied with just assuming that every child account has the same regions enabled as the stackset account.

@sigJoe sigJoe added the enhancement New feature or request label Oct 31, 2024
@vinelias
Copy link

That's a great idea! And it's not that complex, we just need a query to get a list of CT governed regions and replace the all_enabled with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants