Skip to content

Commit

Permalink
Merge pull request #14 from Snowflake-Labs/add-aws-gov-support
Browse files Browse the repository at this point in the history
Fix AWS Gov Cloud S3 bucket output
  • Loading branch information
sfc-gh-bkou authored Jan 27, 2023
2 parents 7461052 + 25aa4e8 commit 4e37c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ output "storage_integration_name" {

output "bucket_url" {
description = "GEFF S3 Bucket URL"
value = "s3://${aws_s3_bucket.geff_bucket.id}/"
value = var.arn_format == "aws-us-gov" ? "s3gov://${aws_s3_bucket.geff_bucket.id}/" : "s3://${aws_s3_bucket.geff_bucket.id}/"
}

output "bucket_arn" {
Expand Down

0 comments on commit 4e37c15

Please sign in to comment.