mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +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
|
|
@ -149,4 +149,20 @@ resource "aws_iam_role_policy_attachment" "devnet_xdc_ecs_tasks_execution_role"
|
|||
])
|
||||
role = aws_iam_role.devnet_xdc_ecs_tasks_execution_role.name
|
||||
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