From ba0594140f786e97aff11623fa4e988f35d32419 Mon Sep 17 00:00:00 2001 From: GomathiselviS Date: Fri, 22 Nov 2024 10:32:24 -0500 Subject: [PATCH] Add region --- .../playbooks/run_configure_aws_network.yml | 1 + .../template_surveys/configure_aws_network.yaml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/extensions/experiences/configure_aws_network/playbooks/run_configure_aws_network.yml b/extensions/experiences/configure_aws_network/playbooks/run_configure_aws_network.yml index 5fc463c7..f4fab236 100644 --- a/extensions/experiences/configure_aws_network/playbooks/run_configure_aws_network.yml +++ b/extensions/experiences/configure_aws_network/playbooks/run_configure_aws_network.yml @@ -36,6 +36,7 @@ ansible.builtin.include_role: name: cloud.aws_ops.ec2_networking_resources vars: + aws_region: "{{ region }}" ec2_networking_resources_vpc_name: "{{ vpc_name }}" ec2_networking_resources_vpc_cidr_block: "{{ vpc_cidr }}" ec2_networking_resources_subnet_cidr_block: "{{ subnet }}" diff --git a/extensions/experiences/configure_aws_network/template_surveys/configure_aws_network.yaml b/extensions/experiences/configure_aws_network/template_surveys/configure_aws_network.yaml index 8b7448fa..89fa9bc0 100644 --- a/extensions/experiences/configure_aws_network/template_surveys/configure_aws_network.yaml +++ b/extensions/experiences/configure_aws_network/template_surveys/configure_aws_network.yaml @@ -12,6 +12,12 @@ spec: required: true default: "full" + - type: "text" + question_name: "AWS region" + question_description: "The AWS region where the resources should be created." + variable: "region" + required: true + - type: "text" question_name: "VPC name" question_description: "The name of the VPC to create."