aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/terraform/aws
diff options
context:
space:
mode:
authorMaros Mullner <maros.mullner@pantheon.tech>2020-05-22 08:27:07 +0200
committerPeter Mikus <pmikus@cisco.com>2020-05-27 13:11:10 +0000
commit5d4c299d02072fd18ef175bfbf7c694e94db79a6 (patch)
tree2c68868b5fd42a86197aeae205557a435f4eef16 /resources/tools/terraform/aws
parent3ea4fcebabfaac866d469a7b4355ac8df7732a0f (diff)
Terraform and ansible changes for Cloud environment (AWS, Azure).
Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech> Change-Id: Ic78b5dae22b67763b99c50a5f15d7dd16152d5d5
Diffstat (limited to 'resources/tools/terraform/aws')
-rw-r--r--resources/tools/terraform/aws/main.tf9
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/tools/terraform/aws/main.tf b/resources/tools/terraform/aws/main.tf
index 49ef73e17f..edb179990a 100644
--- a/resources/tools/terraform/aws/main.tf
+++ b/resources/tools/terraform/aws/main.tf
@@ -194,6 +194,9 @@ resource "aws_instance" "tg" {
key_name = aws_key_pair.CSIT.key_name
associate_public_ip_address = true
subnet_id = aws_subnet.mgmt.id
+ root_block_device {
+ volume_size = 50
+ }
private_ip = var.tg_mgmt_ip
vpc_security_group_ids = [aws_security_group.CSIT.id]
depends_on = [aws_vpc.CSIT, aws_placement_group.CSIT]
@@ -209,6 +212,9 @@ resource "aws_instance" "dut1" {
key_name = aws_key_pair.CSIT.key_name
associate_public_ip_address = true
subnet_id = aws_subnet.mgmt.id
+ root_block_device {
+ volume_size = 50
+ }
private_ip = var.dut1_mgmt_ip
vpc_security_group_ids = [aws_security_group.CSIT.id]
depends_on = [aws_vpc.CSIT, aws_placement_group.CSIT]
@@ -224,6 +230,9 @@ resource "aws_instance" "dut2" {
key_name = aws_key_pair.CSIT.key_name
associate_public_ip_address = true
subnet_id = aws_subnet.mgmt.id
+ root_block_device {
+ volume_size = 50
+ }
private_ip = var.dut2_mgmt_ip
vpc_security_group_ids = [aws_security_group.CSIT.id]
depends_on = [aws_vpc.CSIT, aws_placement_group.CSIT]