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

Create two separate AFT environment - Dev & Prod in same TFE org #506

Open
raju7258 opened this issue Oct 28, 2024 · 1 comment
Open

Create two separate AFT environment - Dev & Prod in same TFE org #506

raju7258 opened this issue Oct 28, 2024 · 1 comment
Labels
bug Something isn't working pending investigation Issue needs further investigation

Comments

@raju7258
Copy link

raju7258 commented Oct 28, 2024

Terraform Version & Prov:

AFT Version:
1.13.2

Terraform Version & Provider Versions
Please provide the outputs of terraform version and terraform providers from within your AFT environment

terraform version

1.5.7

terraform providers

{Replace me}

Bug Description
I am having issues when creating two separate AFT environment for Dev & Prod in the same TFE org

To Reproduce
I am having issues when creating two separate AFT environment for Dev & Prod in the same TFE org. When I run ct-aft-account-provisioning-customizations on both dev & prod it runs in the same TFE workspace with the name 'ct-aft-account-provisioning-customizations' and I believe I will encounter the same error for the pipeline 'ct-aft-account-request'. Can someone give me a solution to this problem?

@raju7258 raju7258 added bug Something isn't working pending investigation Issue needs further investigation labels Oct 28, 2024
@hsdp-smulford
Copy link

If you dig around the buildspecs, you'll see some places where the workspace names are hard-coded, and others where they are not hard-coded.

Since this feels like a timely issue, you may want to:

  1. Open up an enhancement with AWS to prioritize this fix, then
  2. fork and update the workspace names with variables while you wait for a patch.

Just my 2 cents :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending investigation Issue needs further investigation
Projects
None yet
Development

No branches or pull requests

2 participants