learn-terraform-advanced-deployments
learn-terraform-advanced-deployments copied to clipboard
fix the tf version and resolver
Background
There are two problemes with the existing script:
- The existing tf script failed with a newer version of terraform
- the target group created cannot reach out to the EC2 instances, hence resulted in 502 Bad gateway. the root cause is due to the DNS resolver.
Removed required_providers version "~> 1.3.0" to work compatibility with 1.8.5 and not enough compute power