Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 489 Bytes

ReadME.md

File metadata and controls

17 lines (13 loc) · 489 Bytes

Documenting terraform scripts to create resources

Since we're using an external backend config:

Replace the key, bucket and region to your use case i.e

  • key = name of tfstate file to be stored in s3
  • bucket = bucket to store your tfstate files
  • region = aws region to use for the backend
 terraform init \
    -backend-config="../backend.hcl" \
    -backend-config="key=test.tfstate" \ 
    -backend-config="bucket=test-bucket" \
    -backend-config="region=eu-west-1"