-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathterraform.tf
More file actions
30 lines (26 loc) · 956 Bytes
/
terraform.tf
File metadata and controls
30 lines (26 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#####################################################################################
# Terraform module examples are meant to show an _example_ on how to use a module
# per use-case. The code below should not be copied directly but referenced in order
# to build your own root module that invokes this module
#####################################################################################
terraform {
required_version = ">= 1.14.0"
# Replace with your own remote backend configuration.
# backend "s3" {
# bucket = "<your-state-bucket>"
# key = "devops-agent-spoke/<account-name>.tfstate"
# region = "eu-west-2"
# encrypt = true
# use_lockfile = true
# }
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 6.0.0"
}
}
}
# Targets the workload account where the cross-account role and boundary are created.
provider "aws" {
region = var.aws_region
}