-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsite.tf
More file actions
35 lines (30 loc) · 785 Bytes
/
site.tf
File metadata and controls
35 lines (30 loc) · 785 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
31
32
33
34
35
terraform {
required_version = "~> 1.13.5"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 6.27.0"
}
time = {
source = "hashicorp/time"
version = "0.13.1"
}
}
backend "s3" {
bucket = "gds-forms-integration-tfstate"
region = "eu-west-2"
# key is set when initializing Terraform
# e.g. `terraform init -backend-config="key=review-apps/forms-admin/pr-123.tfstate"`
}
}
provider "aws" {
allowed_account_ids = ["842676007477"]
region = "eu-west-2"
default_tags {
tags = {
Environment = "review"
Deployment = "github.com/alphagov/forms-admin/.review_apps"
PullRequest = "https://github.com/alphagov/forms-admin/pull/${var.pull_request_number}"
}
}
}