Created
July 29, 2020 20:56
-
-
Save dixneuf19/e5c75760affd5f55412a6f13a524bc19 to your computer and use it in GitHub Desktop.
This file contains 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
# main.tf | |
# Remote state | |
terraform { | |
backend "s3" { | |
endpoint = "ams3.digitaloceanspaces.com/" # specify the correct DO region | |
region = "us-west-1" # not used since it's a DigitalOcean spaces bucket | |
key = "terraform.tfstate" | |
bucket = "kube-terraform-state" # The name of your Spaces | |
skip_credentials_validation = true | |
skip_metadata_api_check = true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment