Difference between revisions of "Aws s3 bucket public access block"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_public_access_block
 
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_public_access_block
  aws_s3_bucket_public_access_block
+
  <code>aws_s3_bucket_public_access_block</code>
 
 
  
 
== Official example ==
 
== Official example ==
Line 11: Line 10:
 
  resource "aws_s3_bucket_public_access_block" "example" {
 
  resource "aws_s3_bucket_public_access_block" "example" {
 
   bucket = aws_s3_bucket.example.id
 
   bucket = aws_s3_bucket.example.id
 
+
   block_public_acls      = true
+
   [[block_public_acls]]       = true
   block_public_policy    = true
+
   [[block_public_policy]]     = true
   ignore_public_acls      = true
+
   [[ignore_public_acls]]     = true
   restrict_public_buckets = true
+
   [[restrict_public_buckets]] = true
 
  }
 
  }
  
 
+
== Related ==
 +
* [[Blocking public access to your Amazon S3 storage]]
  
 
== See also ==
 
== See also ==

Latest revision as of 03:33, 6 June 2024

Advertising: