Skip to content

Commit d51a1ca

Browse files
committed
feat: Added backend to store infra state
1 parent 28725c0 commit d51a1ca

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

terraform/provider.tf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
terraform {
2+
backend "gcs" {
3+
bucket = "event-access-tfstate"
4+
prefix = "terraform/state"
5+
}
6+
7+
required_providers {
8+
google = {
9+
source = "hashicorp/google"
10+
version = "~> 4.0"
11+
}
12+
}
13+
}
14+
115
provider "google" {
216
project = var.project_id
317
region = var.region

0 commit comments

Comments
 (0)