# 20秒待機する | |
resource time_sleep b_to_a { | |
create_duration = "20s" | |
triggers = { | |
peer = aws_vpc_peering_connection_accepter.b_to_a.id | |
} | |
} | |
# B側でリソースの設定変更する | |
resource aws_vpc_peering_connection_options b { | |
provider = aws.b | |
vpc_peering_connection_id = aws_vpc_peering_connection.a_to_b.id | |
accepter { | |
allow_remote_vpc_dns_resolution = true | |
} | |
depends_on = [ | |
time_sleep.b_to_a | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment