We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67c2205 commit 675896fCopy full SHA for 675896f
terraform/envs/prod/main.tf
@@ -1,3 +1,8 @@
1
+data "aws_caller_identity" "current" {}
2
+locals {
3
+ account_id = data.aws_caller_identity.current.account_id
4
+}
5
+
6
terraform {
7
required_providers {
8
aws = {
@@ -7,6 +12,12 @@ terraform {
12
}
13
9
14
required_version = ">= 1.2"
15
+ backend "s3" {
16
+ bucket = "298118738376-terraform"
17
+ key = "infra-core-api"
18
+ region = "us-east-1"
19
+ use_lockfile = true
20
+ }
10
21
11
22
23
provider "aws" {
terraform/envs/qa/main.tf
@@ -7,6 +7,13 @@ terraform {
+ bucket = "427040638965-terraform"
0 commit comments