From d2a39ce8a3e2e93792565326456cfc84d5c0b8fc Mon Sep 17 00:00:00 2001 From: teaguejobs Date: Mon, 8 Jan 2024 22:42:54 +0000 Subject: [PATCH 1/7] point backend to tfc org --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index e1d1b8045..31bf8c946 100644 --- a/main.tf +++ b/main.tf @@ -12,10 +12,10 @@ terraform { required_version = "~> 1.0" backend "remote" { - organization = "REPLACE_ME" + organization = "ACG-Labs-Demo" workspaces { - name = "REPLACE_ME" + name = "github-actions" } } } From 200a2a4c7ab5c80c23244020de78b2861786d588 Mon Sep 17 00:00:00 2001 From: teaguejobs Date: Tue, 9 Jan 2024 00:09:54 +0000 Subject: [PATCH 2/7] point backend to tfc org --- .github/workflows/terraform | 0 main.tf | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 .github/workflows/terraform diff --git a/.github/workflows/terraform b/.github/workflows/terraform new file mode 100644 index 000000000..e69de29bb diff --git a/main.tf b/main.tf index 31bf8c946..1875038dd 100644 --- a/main.tf +++ b/main.tf @@ -11,7 +11,7 @@ terraform { } required_version = "~> 1.0" - backend "remote" { + cloud { organization = "ACG-Labs-Demo" workspaces { From cd1bdbc56004765d031736662716fadd02a84312 Mon Sep 17 00:00:00 2001 From: teaguejobs Date: Tue, 9 Jan 2024 00:13:40 +0000 Subject: [PATCH 3/7] point backend to tfc org --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 1875038dd..031d29737 100644 --- a/main.tf +++ b/main.tf @@ -11,7 +11,7 @@ terraform { } required_version = "~> 1.0" - cloud { + backend "remote" { organization = "ACG-Labs-Demo" workspaces { From b9d2c4860a32c52c9d0f31870adf9dc04cae46c0 Mon Sep 17 00:00:00 2001 From: teaguejobs Date: Tue, 9 Jan 2024 00:17:13 +0000 Subject: [PATCH 4/7] point backend to tfc org --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 031d29737..ecf48de72 100644 --- a/main.tf +++ b/main.tf @@ -11,7 +11,7 @@ terraform { } required_version = "~> 1.0" - backend "remote" { + backend "remote" { organization = "ACG-Labs-Demo" workspaces { From 7bb363b7b947d3b8dcf3d0361b62c16a640bac30 Mon Sep 17 00:00:00 2001 From: teaguejobs Date: Tue, 9 Jan 2024 00:20:44 +0000 Subject: [PATCH 5/7] point backend to tfc org --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index ecf48de72..31bf8c946 100644 --- a/main.tf +++ b/main.tf @@ -11,7 +11,7 @@ terraform { } required_version = "~> 1.0" - backend "remote" { + backend "remote" { organization = "ACG-Labs-Demo" workspaces { From b301914682bb0b44f92097677d9d84f5aaec3895 Mon Sep 17 00:00:00 2001 From: teaguejobs Date: Tue, 9 Jan 2024 00:38:33 +0000 Subject: [PATCH 6/7] point backend to tfc org --- GITHUB_ENV.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 GITHUB_ENV.yaml diff --git a/GITHUB_ENV.yaml b/GITHUB_ENV.yaml new file mode 100644 index 000000000..52762784c --- /dev/null +++ b/GITHUB_ENV.yaml @@ -0,0 +1,10 @@ +steps: + - name: Set the value + id: step_one + run: | + echo "action_state=yellow" >> "$GITHUB_ENV" + - name: Use the value + id: step_two + run: | + printf '%s\n' "$action_state" # This will output 'yellow' + From 674f3a4b519ade2dfe29bb6732f837ceddacd05a Mon Sep 17 00:00:00 2001 From: teaguejobs Date: Tue, 9 Jan 2024 00:48:50 +0000 Subject: [PATCH 7/7] point backend to tfc org --- GITHUB_ENV.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GITHUB_ENV.yaml b/GITHUB_ENV.yaml index 52762784c..584c0eee3 100644 --- a/GITHUB_ENV.yaml +++ b/GITHUB_ENV.yaml @@ -2,9 +2,9 @@ steps: - name: Set the value id: step_one run: | - echo "action_state=yellow" >> "$GITHUB_ENV" + echo "GITHUB_TOKEN=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" >> "$GITHUB_ENV" - name: Use the value id: step_two run: | - printf '%s\n' "$action_state" # This will output 'yellow' + printf '%s\n' "$GITHUB_TOKEN" # This will output 'yellow'