Skip to content

Conversation

calxus
Copy link

@calxus calxus commented Aug 20, 2025

Rollback Plan

If a change needs to be reverted, we will publish an updated version of the library.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

Description

Resolves an issue in the aws_controltower_landing_zone resource where the attribute retentionDays in the landing zone manifest needs to be defined as an integer in order to create or update the resource.

However it is converted to a string when the manifest is read from AWS so drift is always detected unless you modify your local manifest to set the attribute as a string. But then you can not update the resource again without changing it to a integer.

Relations

Relates #35763

References

Output from Acceptance Testing

I'm not able to run acceptance tests for control tower in my sandbox environment, I have written the test though and the logic I think makes sense. It was mentioned in the docs that the tests can be run on your side so if that is possible, that would be great!

...

@calxus calxus requested a review from a team as a code owner August 20, 2025 15:38
Copy link
Contributor

Community Guidelines

This comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀

Voting for Prioritization

  • Please vote on this Pull Request by adding a 👍 reaction to the original post to help the community and maintainers prioritize it.
  • Please see our prioritization guide for additional information on how the maintainers handle prioritization.
  • Please do not leave +1 or other comments that do not add relevant new information or questions; they generate extra noise for others following the Pull Request and do not help prioritize the request.

Pull Request Authors

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

Copy link
Contributor

github-actions bot commented Aug 20, 2025

✅ Thank you for correcting the previously detected issues! The maintainers appreciate your efforts to make the review process as smooth as possible.

@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/controltower Issues and PRs that pertain to the controltower service. size/M Managed by automation to categorize the size of a PR. labels Aug 20, 2025
@justinretzolk justinretzolk added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Addresses a defect in current functionality. service/controltower Issues and PRs that pertain to the controltower service. size/M Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants