You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ARN partition is hardcoded to AWS. Since it is hardcoded the module does not work in AWS Gov Cloud or other partitions. This is encountered when 1) creating log policy 2) SNS topic policy and 3) SNS KMS Key policy.
Expected Behavior
I expected the partition would be automatically derived for creating policies and the module would successfully deploy in an AWS Gov Cloud environment.
Use Case
This would be valuable for deploy to other partitions (e.g., aws-us-gov, aws-cn).
Describe Ideal Solution
Use aws_partition to automatically determine partition.
For example,
data "aws_partition" "current" {}
resources = [
"arn:${data.aws_partition.current.partition}:s3:::my-bucket",
]
Alternatives Considered
Allow user to set a variable.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the Feature
The ARN partition is hardcoded to AWS. Since it is hardcoded the module does not work in AWS Gov Cloud or other partitions. This is encountered when 1) creating log policy 2) SNS topic policy and 3) SNS KMS Key policy.
Expected Behavior
I expected the partition would be automatically derived for creating policies and the module would successfully deploy in an AWS Gov Cloud environment.
Use Case
This would be valuable for deploy to other partitions (e.g., aws-us-gov, aws-cn).
Describe Ideal Solution
Use aws_partition to automatically determine partition.
For example,
Alternatives Considered
Allow user to set a variable.
Additional Context
No response
The text was updated successfully, but these errors were encountered: