-
By default, AWS CLI, Terraform, and Terragrunt rely on the AWS_REGION configuration to discover AWS service endpoints[1]. However, when dealing with government agencies in the US and Canada or using GovCloud, it is necessary to communicate over FIPS endpoints[2]. Terraform provides a guide on using custom endpoints[3] that can be followed to configure Terragrunt. To do this, open the root Here's an example configuration for the AWS provider section in
By adding these custom endpoints, terragrunt/terraform will override the standard endpoints for the specified region and utilize the custom endpoints defined above. [1] https://docs.aws.amazon.com/general/latest/gr/rande.html |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
KB page with answer added |
Beta Was this translation helpful? Give feedback.
-
Does the use_fips_endpoint of the provider (https://registry.terraform.io/providers/hashicorp/aws/latest/docs#use_fips_endpoint) not perform this same feature or do we need to manually define the endpoints as noted above for use in GovCloud? |
Beta Was this translation helpful? Give feedback.
KB page with answer added