mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-15 17:30:44 +00:00
XIN-241: Add EFS and configure to the devnet VPC
This commit is contained in:
parent
f7f4986142
commit
9ece2ddb32
1 changed files with 16 additions and 0 deletions
|
|
@ -150,3 +150,19 @@ resource "aws_iam_role_policy_attachment" "devnet_xdc_ecs_tasks_execution_role"
|
||||||
role = aws_iam_role.devnet_xdc_ecs_tasks_execution_role.name
|
role = aws_iam_role.devnet_xdc_ecs_tasks_execution_role.name
|
||||||
policy_arn = each.value
|
policy_arn = each.value
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# EFS
|
||||||
|
resource "aws_efs_file_system" "devnet_efs" {
|
||||||
|
creation_token = "efs"
|
||||||
|
performance_mode = "generalPurpose"
|
||||||
|
throughput_mode = "bursting"
|
||||||
|
encrypted = "true"
|
||||||
|
tags = {
|
||||||
|
Name = "TfDevnetEfs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "aws_efs_mount_target" "alpha" {
|
||||||
|
file_system_id = aws_efs_file_system.devnet_efs.id
|
||||||
|
subnet_id = aws_subnet.devnet_subnet.id
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue