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

fix: treat AWS account IDs as strings #634

Merged
merged 1 commit into from
Apr 26, 2022
Merged

Conversation

jakeyheath
Copy link
Contributor

Summary

This PR fixes a bug in that AWS account IDs were being templated as numbers. This is a problem when AWS account IDs start with zeroes because terraform will cast them to string without the leading zeros. For instance, 0000000000000009273135997 will be transformed to "9273135997".

Test Plan

  • make update-golden-files
  • make test

References

@jakeyheath jakeyheath requested a review from a team as a code owner April 26, 2022 19:27
@jakeyheath jakeyheath merged commit d8f52bc into main Apr 26, 2022
@jakeyheath jakeyheath deleted the heathj/fogg_accounts branch April 26, 2022 19:34
@jakeyheath jakeyheath restored the heathj/fogg_accounts branch April 26, 2022 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants