Skip to content

Conversation

ggettert
Copy link
Contributor

@ggettert ggettert commented Sep 9, 2025

What does this PR do?

  • Replaced all instances of data.aws_region.current.name with data.aws_region.current.id to resolve deprecation warnings.
  • Updated the validation on max_webservers, it can only reference itself, it cannot reference min_webservers.
  • Updated tfsec.yaml to ignore some additional rules since it is pointed to an example and the errors were pointing to the vpc third party module.

Motivation

I got a deprecated attribute warning when using the module. I also wanted all of the tests to be successful.

More

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • Yes, I ran pre-commit run -a with this PR

For Moderators

  • E2E Test successfully complete before merge?

Additional Notes

Resolves #75

ggettert and others added 3 commits September 8, 2025 14:28
Replace all instances of data.aws_region.current.name with data.aws_region.current.id
to resolve deprecation warnings in:
- Airflow environment ARN
- CloudWatch log group ARNs
- SQS queue ARN
- KMS service conditions
- SSM parameter ARN
- Lambda log group ARNs
[DOPS-5294]: Fix deprecated data.aws_region.current.name attributes
@ggettert ggettert requested a review from a team as a code owner September 9, 2025 21:47
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.

Replace deprecated usage of data.aws_region.current.name
1 participant