We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When testing ESF on govcloud, there are the several changes I have to make manually in this terraform repo in order to make it work:
--- a/esf.tf +++ b/esf.tf @@ -172,7 +172,7 @@ module "esf-lambda-function" { attach_policies = true number_of_policies = 1 - policies = ["arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"] + policies = ["arn:aws-us-gov:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"] attach_policy_statements = true @@ -182,8 +182,8 @@ module "esf-lambda-function" { effect = "Allow", actions = ["s3:GetObject"], resources = [ - "arn:aws:s3:::${local.config-bucket-name}/config.yaml", - "arn:aws:s3:::${local.config-bucket-name}/${local.dependencies-file}" + "arn:aws-us-gov:s3:::${local.config-bucket-name}/config.yaml", + "arn:aws-us-gov:s3:::${local.config-bucket-name}/${local.dependencies-file}" ] },
Everything else works great!
The text was updated successfully, but these errors were encountered:
We should probably use the aws_partition data source: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition
aws_partition
Sorry, something went wrong.
No branches or pull requests
When testing ESF on govcloud, there are the several changes I have to make manually in this terraform repo in order to make it work:
Everything else works great!
The text was updated successfully, but these errors were encountered: