-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Cross Region Pipelines #6871
Comments
Due to the change of the underlying API implementation for this functionality, the Terraform AWS Provider can unexpectedly crash if a pipeline is manually configured with cross-region support outside Terraform. See also: #7573 |
It seems like quite a few people are running into crashes as per #7573 due to making changes to a terraform-managed CodePipeline in the AWS Console - I'm assuming that they have updated the Console to automatically set all pipelines as cross-region. I don't know if anyone's actively looking at this or what it would take to fix this, but it looks like it is becoming a little bit more than a nice-to-have! |
The change can be as little as someone changing the branch in the source stage, but using the console as it is just needed to push a hotfix or something transitory. If it is done in the console, it breaks Terraform. I would expect Terraform to just put it back if it is not in the code, but not panic and crash. |
The functionality for this was merged in via #12549 however GitHub was having issues at the time so closing manually. |
This has been released in version 2.56.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Description
As AWS launched the Cross Region Pipelines, we don't need to create one pipeline per region or use lambdas to deploy in another region.
We can just simply create one pipeline and S3 buckets in the other regions, so the own pipeline would copy the artifacts and deploy it in other regions.
The unique way to implement that today is using AWS CLI.
Here is the doc: https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-cross-region.html
New or Affected Resource(s)
Potential Terraform Configuration
N/A
References
The text was updated successfully, but these errors were encountered: