Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Commit 9527e30

Browse files
n7z2Spots87
andauthored
fix: updated global terraform tags and svc aws version (#619)
* fix: implemented global tags * fix: removed commas * fix: resolved formatting issues * fix: updated aws version on sharedsvc to resolve default tag issue * fix: removed old lock file to generate a new file with the updated provider * fix: updated versions and lock file * feat: adds terraform lock providers Co-authored-by: nabil.aziz <[email protected]> Co-authored-by: Tim Spotswood <[email protected]>
1 parent b11514b commit 9527e30

File tree

15 files changed

+229
-104
lines changed

15 files changed

+229
-104
lines changed

stacks/product-aws/main.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ provider "aws" {
1111
region = var.region
1212

1313
skip_metadata_api_check = true
14+
15+
default_tags {
16+
tags = {
17+
Org = "liatrio"
18+
Team = "flywheel"
19+
Repo = "github.com/liatrio/lead-terraform"
20+
ManagedBy = "terraform"
21+
}
22+
}
23+
1424
}
1525

1626
provider "helm" {

stages/apps/lead/main.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ terraform {
55

66
provider "aws" {
77
region = var.region
8+
9+
default_tags {
10+
tags = {
11+
Org = "liatrio"
12+
Team = "flywheel"
13+
Repo = "github.com/liatrio/lead-terraform"
14+
ManagedBy = "terraform"
15+
}
16+
}
17+
818
}
919

1020
data "aws_eks_cluster" "cluster" {

stages/apps/sharedsvc/.terraform.lock.hcl

Lines changed: 109 additions & 97 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

stages/apps/sharedsvc/main.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ terraform {
55

66
provider "aws" {
77
region = var.region
8+
9+
default_tags {
10+
tags = {
11+
Org = "liatrio"
12+
Team = "flywheel"
13+
Repo = "github.com/liatrio/lead-terraform"
14+
ManagedBy = "terraform"
15+
}
16+
}
817
}
918

1019
data "aws_eks_cluster" "cluster" {

stages/apps/sharedsvc/versions.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,31 @@ terraform {
33
required_providers {
44
aws = {
55
source = "hashicorp/aws"
6-
version = "~> 3.3.0"
6+
version = "~> 3.56.0"
77
}
88
external = {
99
source = "hashicorp/external"
10-
version = "~> 2.0.0"
10+
version = "~> 2.2.0"
1111
}
1212
helm = {
1313
source = "hashicorp/helm"
14-
version = "1.3.0"
14+
version = "2.3.0"
1515
}
1616
kubernetes = {
1717
source = "hashicorp/kubernetes"
1818
version = ">= 2.4.1"
1919
}
2020
null = {
2121
source = "hashicorp/null"
22-
version = "~> 3.0.0"
22+
version = "~> 3.1.0"
2323
}
2424
random = {
2525
source = "hashicorp/random"
26-
version = "~> 3.0.1"
26+
version = "~> 3.1.0"
2727
}
2828
vault = {
2929
source = "hashicorp/vault"
3030
version = "2.24.0"
3131
}
3232
}
33-
}
33+
}

stages/cloud-provider/aws/lead/main.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ terraform {
55

66
provider "aws" {
77
region = var.region
8+
9+
default_tags {
10+
tags = {
11+
Org = "liatrio"
12+
Team = "flywheel"
13+
Repo = "github.com/liatrio/lead-terraform"
14+
ManagedBy = "terraform"
15+
}
16+
}
17+
818
}
919

1020
data "aws_eks_cluster" "cluster" {

stages/cloud-provider/aws/sharedsvc/main.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ terraform {
55

66
provider "aws" {
77
region = var.region
8+
9+
default_tags {
10+
tags = {
11+
Org = "liatrio"
12+
Team = "flywheel"
13+
Repo = "github.com/liatrio/lead-terraform"
14+
ManagedBy = "terraform"
15+
}
16+
}
17+
818
}
919

1020
data "aws_eks_cluster" "cluster" {

stages/cloud-provider/aws/sharedsvc/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
required_providers {
44
aws = {
55
source = "hashicorp/aws"
6-
version = ">= 3.37.0"
6+
version = ">= 3.56.0"
77
}
88
}
99
}

stages/config/lead/main.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ terraform {
55

66
provider "aws" {
77
region = var.region
8+
9+
default_tags {
10+
tags = {
11+
Org = "liatrio"
12+
Team = "flywheel"
13+
Repo = "github.com/liatrio/lead-terraform"
14+
ManagedBy = "terraform"
15+
}
16+
}
817
}
918

1019
data "aws_caller_identity" "current" {}

0 commit comments

Comments
 (0)