Created
July 24, 2021 02:50
-
-
Save oxlb/f540547a133c140f616a62fea74f0fec to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Public Cloud Configuration | |
provider "aws" { | |
region = "us-east-1" | |
access_key = "test123" | |
secret_key = "testabc" | |
skip_credentials_validation = true | |
skip_requesting_account_id = true | |
skip_metadata_api_check = true | |
s3_force_path_style = true | |
endpoints { | |
s3 = "http://localhost:4566" | |
} | |
} | |
# Create Bucket | |
resource "aws_s3_bucket" "b" { | |
bucket = "onexlab-bucket-terraform" | |
acl = "public-read" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment