ValAug / vpc-endpoint-connection-with-s3

vpc-endpoint-connection-with-s3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vpc-endpoint-connection-with-s3

This repository create an AWS:

  • VPC-e Gateway connection with S3

AWS VPC-e Gateway diagram

Gateway

Cloud - ☁️

AWS

IaaC

Terraform

Prerequisites

  • You must have an AWS account, and have your CLI profile configuration.

  • You must have Terraform installed

Cautions

  • 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.

How to run this code

Quick Start

cd vpc-endpoint-connection-with-s3
terraform init
terraform validate
terraform plan
terraform apply --auto-approve

Quick Destroy

terraform destroy --auto-approve

Steps to follow

  • 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

About

vpc-endpoint-connection-with-s3


Languages

Language:HCL 100.0%