From ad99d0e3d09063410b0c62d5b0ff7a050b40840a Mon Sep 17 00:00:00 2001 From: Arvinth C Date: Tue, 21 Jun 2022 07:59:00 +0530 Subject: [PATCH] Cidr bloack fix Signed-off-by: Arvinth C --- components/automate-backend-deployment/README.md | 1 + components/automate-cluster-ctl/readme | 1 + terraform/a2ha-terraform/reference_architectures/aws/main.tf | 4 +--- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/automate-backend-deployment/README.md b/components/automate-backend-deployment/README.md index ae169c36ac9..89827302285 100644 --- a/components/automate-backend-deployment/README.md +++ b/components/automate-backend-deployment/README.md @@ -5,3 +5,4 @@ This provides the `automate-backend-deployment` package. This package will build a package using terraform/a2ha-terraform, inspecs, test, certs and Makefile. This is the heart of the a2ha because this component will set up a workspace for a2ha and all the a2ha command will get available after installing this package. + diff --git a/components/automate-cluster-ctl/readme b/components/automate-cluster-ctl/readme index e77a9cec2ff..b5205eada2f 100644 --- a/components/automate-cluster-ctl/readme +++ b/components/automate-cluster-ctl/readme @@ -1 +1,2 @@ automate-cluster-ctl + diff --git a/terraform/a2ha-terraform/reference_architectures/aws/main.tf b/terraform/a2ha-terraform/reference_architectures/aws/main.tf index af57865946b..41f8e5b2d03 100644 --- a/terraform/a2ha-terraform/reference_architectures/aws/main.tf +++ b/terraform/a2ha-terraform/reference_architectures/aws/main.tf @@ -3,9 +3,7 @@ data "http" "getEc2PrivateIP" { } locals { - json_data = "${join(".", [for i, s in split(".", data.http.getEc2PrivateIP.response_body) : ( - i == 3 ? 0 : s - )])}/26" + json_data = "${data.http.getEc2PrivateIP.response_body}/32" } provider "aws" { region = var.aws_region