From 901295d8360fe0485d26928a5e953441db165ad6 Mon Sep 17 00:00:00 2001 From: NidaRe <53389364+NidaRe@users.noreply.github.com> Date: Sat, 9 Sep 2023 03:42:52 +0530 Subject: [PATCH 1/5] Update backend.tf --- backend.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend.tf b/backend.tf index 978704c..69b7086 100644 --- a/backend.tf +++ b/backend.tf @@ -1,7 +1,7 @@ terraform { required_version = ">= 1.1.0" backend "remote" { - # organization = "" + organization = "Aviatrix-IaaC" workspaces { name = "ace-iac-day-two" } From 576ba4acc4b66af33e8e2b631d1a2b950d83514a Mon Sep 17 00:00:00 2001 From: NidaRe <53389364+NidaRe@users.noreply.github.com> Date: Sat, 9 Sep 2023 03:44:58 +0530 Subject: [PATCH 2/5] Update CODEOWNERS --- .github/CODEOWNERS | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8e94eae..2767bb6 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -4,10 +4,10 @@ # this repository, with the Development group able to author and push pull requests. # In a true org structure, this line would be something like: "app-fqdn-rules.tf @" -app-fqdn-rules.tf @ +app-fqdn-rules.tf @NidaTech # In a true org structure, these files should have the Network Operators account as the owner: -main.tf @ -provider.tf @ -variables.tf @ -versions.tf @ +main.tf @NidaRe +provider.tf @NidaRe +variables.tf @NidaRe +versions.tf @NidaRe From 1f1b0de3cc7e4ed2ee0796b452e518a8475ad8cd Mon Sep 17 00:00:00 2001 From: NidaRe <53389364+NidaRe@users.noreply.github.com> Date: Sat, 9 Sep 2023 04:06:59 +0530 Subject: [PATCH 3/5] Update app-fqdn-rules.tf --- app-fqdn-rules.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/app-fqdn-rules.tf b/app-fqdn-rules.tf index dd8392a..55aa717 100644 --- a/app-fqdn-rules.tf +++ b/app-fqdn-rules.tf @@ -4,6 +4,7 @@ locals { tcp = { "*.aviatrix.com" = "443" "aviatrix.com" = "80" + "*.ubuntu.com" = "80" } udp = { "dns.google.com" = "53" From 8cde699a66bf3637335dceb8a898db7ca66803f9 Mon Sep 17 00:00:00 2001 From: NidaRe <53389364+NidaRe@users.noreply.github.com> Date: Sat, 9 Sep 2023 04:16:11 +0530 Subject: [PATCH 4/5] Update terraform.yml --- .github/workflows/terraform.yml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 7ec8ebe..47f1f82 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -45,31 +45,7 @@ jobs: run: terraform plan -no-color continue-on-error: true - # Add terraform plan output back into the pull request - - name: Update Pull Request - uses: actions/github-script@0.9.0 - if: github.event_name == 'pull_request' - env: - PLAN: "terraform\n${{ steps.plan.outputs.stdout }}" - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - script: | - const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\` - #### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\` - #### Terraform Plan 📖\`${{ steps.plan.outcome }}\` -
Show Plan - \`\`\` - ${process.env.PLAN} - \`\`\` -
- *Pusher: @${{ github.actor }}, Action: \`${{ github.event_name }}\`*`; - github.issues.createComment({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: output - }) # Exit on Plan failure - name: Terraform Plan Status From 9bb7f9f8161dc11d683afc24216363f9c70bd334 Mon Sep 17 00:00:00 2001 From: Nidip12 <143867732+Nidip12@users.noreply.github.com> Date: Sat, 9 Sep 2023 04:43:41 +0530 Subject: [PATCH 5/5] Update app-fqdn-rules.tf --- app-fqdn-rules.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/app-fqdn-rules.tf b/app-fqdn-rules.tf index 55aa717..3646a96 100644 --- a/app-fqdn-rules.tf +++ b/app-fqdn-rules.tf @@ -5,6 +5,7 @@ locals { "*.aviatrix.com" = "443" "aviatrix.com" = "80" "*.ubuntu.com" = "80" + "*.ubuntu.com" = "443" } udp = { "dns.google.com" = "53"