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

secondary_sources in aws_codebuild cannot be removed #18755

Closed
itd-srh opened this issue Apr 12, 2021 · 2 comments · Fixed by #18843
Closed

secondary_sources in aws_codebuild cannot be removed #18755

itd-srh opened this issue Apr 12, 2021 · 2 comments · Fixed by #18843
Labels
bug Addresses a defect in current functionality. service/codebuild Issues and PRs that pertain to the codebuild service.
Milestone

Comments

@itd-srh
Copy link

itd-srh commented Apr 12, 2021

We noticed that removing secondary sources from a aws_codebuild resource that was constructed using terraform does not remove the secondary sources from the actual AWS resource. Consecutive terraform apply calls will display the secondary_sources section as being removed every time. Manually editing the CodeBuild project resolves this issue. However, we had to update hundreds of CodeBuild projects, so the only solution we had was to destroy the resource and to construct it again, thus losing the build history.

@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Apr 12, 2021
@DrFaust92 DrFaust92 added service/codebuild Issues and PRs that pertain to the codebuild service. bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Apr 12, 2021
@github-actions github-actions bot added this to the v3.38.0 milestone Apr 29, 2021
@ghost
Copy link

ghost commented Apr 30, 2021

This has been released in version 3.38.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!

@github-actions
Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/codebuild Issues and PRs that pertain to the codebuild service.
Projects
None yet
2 participants