forked from terraform-aws-modules/terraform-aws-s3-bucket
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Shorten outputs (removing this_) (terraform-aws-modules#88)
- Loading branch information
1 parent
7568c1e
commit 161026d
Showing
18 changed files
with
119 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
output "this_s3_bucket_id" { | ||
output "s3_bucket_id" { | ||
description = "The name of the bucket." | ||
value = module.s3_bucket.this_s3_bucket_id | ||
value = module.s3_bucket.s3_bucket_id | ||
} | ||
|
||
output "this_s3_bucket_arn" { | ||
output "s3_bucket_arn" { | ||
description = "The ARN of the bucket. Will be of format arn:aws:s3:::bucketname." | ||
value = module.s3_bucket.this_s3_bucket_arn | ||
value = module.s3_bucket.s3_bucket_arn | ||
} | ||
|
||
output "this_s3_bucket_bucket_domain_name" { | ||
output "s3_bucket_bucket_domain_name" { | ||
description = "The bucket domain name. Will be of format bucketname.s3.amazonaws.com." | ||
value = module.s3_bucket.this_s3_bucket_bucket_domain_name | ||
value = module.s3_bucket.s3_bucket_bucket_domain_name | ||
} | ||
|
||
output "this_s3_bucket_bucket_regional_domain_name" { | ||
output "s3_bucket_bucket_regional_domain_name" { | ||
description = "The bucket region-specific domain name. The bucket domain name including the region name, please refer here for format. Note: The AWS CloudFront allows specifying S3 region-specific endpoint when creating S3 origin, it will prevent redirect issues from CloudFront to S3 Origin URL." | ||
value = module.s3_bucket.this_s3_bucket_bucket_regional_domain_name | ||
value = module.s3_bucket.s3_bucket_bucket_regional_domain_name | ||
} | ||
|
||
output "this_s3_bucket_hosted_zone_id" { | ||
output "s3_bucket_hosted_zone_id" { | ||
description = "The Route 53 Hosted Zone ID for this bucket's region." | ||
value = module.s3_bucket.this_s3_bucket_hosted_zone_id | ||
value = module.s3_bucket.s3_bucket_hosted_zone_id | ||
} | ||
|
||
output "this_s3_bucket_region" { | ||
output "s3_bucket_region" { | ||
description = "The AWS region this bucket resides in." | ||
value = module.s3_bucket.this_s3_bucket_region | ||
value = module.s3_bucket.s3_bucket_region | ||
} | ||
|
||
output "this_s3_bucket_website_endpoint" { | ||
output "s3_bucket_website_endpoint" { | ||
description = "The website endpoint, if the bucket is configured with a website. If not, this will be an empty string." | ||
value = module.s3_bucket.this_s3_bucket_website_endpoint | ||
value = module.s3_bucket.s3_bucket_website_endpoint | ||
} | ||
|
||
output "this_s3_bucket_website_domain" { | ||
output "s3_bucket_website_domain" { | ||
description = "The domain of the website endpoint, if the bucket is configured with a website. If not, this will be an empty string. This is used to create Route 53 alias records. " | ||
value = module.s3_bucket.this_s3_bucket_website_domain | ||
value = module.s3_bucket.s3_bucket_website_domain | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
output "this_s3_bucket_id" { | ||
output "s3_bucket_id" { | ||
description = "The name of the bucket." | ||
value = module.s3_bucket.this_s3_bucket_id | ||
value = module.s3_bucket.s3_bucket_id | ||
} | ||
|
||
output "this_s3_bucket_arn" { | ||
output "s3_bucket_arn" { | ||
description = "The ARN of the bucket. Will be of format arn:aws:s3:::bucketname." | ||
value = module.s3_bucket.this_s3_bucket_arn | ||
value = module.s3_bucket.s3_bucket_arn | ||
} | ||
|
||
output "this_s3_bucket_bucket_domain_name" { | ||
output "s3_bucket_bucket_domain_name" { | ||
description = "The bucket domain name. Will be of format bucketname.s3.amazonaws.com." | ||
value = module.s3_bucket.this_s3_bucket_bucket_domain_name | ||
value = module.s3_bucket.s3_bucket_bucket_domain_name | ||
} | ||
|
||
output "this_s3_bucket_bucket_regional_domain_name" { | ||
output "s3_bucket_bucket_regional_domain_name" { | ||
description = "The bucket region-specific domain name. The bucket domain name including the region name, please refer here for format. Note: The AWS CloudFront allows specifying S3 region-specific endpoint when creating S3 origin, it will prevent redirect issues from CloudFront to S3 Origin URL." | ||
value = module.s3_bucket.this_s3_bucket_bucket_regional_domain_name | ||
value = module.s3_bucket.s3_bucket_bucket_regional_domain_name | ||
} | ||
|
||
output "this_s3_bucket_hosted_zone_id" { | ||
output "s3_bucket_hosted_zone_id" { | ||
description = "The Route 53 Hosted Zone ID for this bucket's region." | ||
value = module.s3_bucket.this_s3_bucket_hosted_zone_id | ||
value = module.s3_bucket.s3_bucket_hosted_zone_id | ||
} | ||
|
||
output "this_s3_bucket_region" { | ||
output "s3_bucket_region" { | ||
description = "The AWS region this bucket resides in." | ||
value = module.s3_bucket.this_s3_bucket_region | ||
value = module.s3_bucket.s3_bucket_region | ||
} | ||
|
||
output "this_s3_bucket_website_endpoint" { | ||
output "s3_bucket_website_endpoint" { | ||
description = "The website endpoint, if the bucket is configured with a website. If not, this will be an empty string." | ||
value = module.s3_bucket.this_s3_bucket_website_endpoint | ||
value = module.s3_bucket.s3_bucket_website_endpoint | ||
} | ||
|
||
output "this_s3_bucket_website_domain" { | ||
output "s3_bucket_website_domain" { | ||
description = "The domain of the website endpoint, if the bucket is configured with a website. If not, this will be an empty string. This is used to create Route 53 alias records. " | ||
value = module.s3_bucket.this_s3_bucket_website_domain | ||
value = module.s3_bucket.s3_bucket_website_domain | ||
} |
Oops, something went wrong.