mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 16:10:14 +00:00
add terraform tfstate info
This commit is contained in:
2
.github/workflows/flame.yml
vendored
2
.github/workflows/flame.yml
vendored
@ -118,7 +118,7 @@ jobs:
|
|||||||
# Connects to remote state backend and download providers.
|
# Connects to remote state backend and download providers.
|
||||||
- name: Terraform Init
|
- name: Terraform Init
|
||||||
working-directory: ${{ env.TERRAFORM_DIRECTORY }}
|
working-directory: ${{ env.TERRAFORM_DIRECTORY }}
|
||||||
run: terraform init
|
run: terraform init -input=false
|
||||||
|
|
||||||
# Deploys infrastructure or changes to infrastructure.
|
# Deploys infrastructure or changes to infrastructure.
|
||||||
- name: Terraform Apply
|
- name: Terraform Apply
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
terraform {
|
terraform {
|
||||||
backend "s3" {
|
backend "s3" {
|
||||||
|
bucket = "noahmasur-terraform"
|
||||||
|
key = "flame.tfstate"
|
||||||
region = "us-east-1"
|
region = "us-east-1"
|
||||||
use_lockfile = true
|
use_lockfile = true
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user