This repository create an AWS:
- VPC-e Gateway connection with S3
-
You must have an AWS account, and have your CLI profile configuration.
-
You must have Terraform installed
- As an AWS best practice, grant this code least privilege, or only the permissions required to perform a task. For more information, see Grant Least Privilege in the AWS Identity and Access Management User Guide.
- This code has been tested in us-east-1 AWS Regions only. However it should work in any other region.
- Running this code it might result in charges to your AWS account.
cd vpc-endpoint-connection-with-s3
terraform init
terraform validate
terraform plan
terraform apply --auto-approve
terraform destroy --auto-approve
-
clone this GitHub repository
-
cd to the the directory vpc-endpoint-connection-with-s3
-
Terraform-commands:
- terraform --help
- terraform init Prepare your working directory for other commands
- terraform validate Check whether the configuration is valid
- terraform plan Show changes required by the current configuration
- terraform apply Create or update infrastructure
- Alternate command: terraform apply -auto-approve
- terraform destroy Destroy previously-created infrastructure
- Alternate command: terraform destroy -auto-approve
- terraform fmt -recursive Reformat your configuration in the standard style