astonishing-quill-88807
09/04/2020, 4:58 PMconsul_agent_security_group = ec2.SecurityGroup(
f'consul-agent-{environment_name}-security-group',
name=f'{environment_name}-consul-agent',
description='Access control between Consul agents',
tags=aws_config.merged_tags({'Name': f'{environment_name}-consul-agent'}),
vpc_id=destination_vpc['id'],
ingress=[
ec2.SecurityGroupIngressArgs(
security_groups=[self.id],
protocol='tcp',
from_port=8301,
to_port=8301,
description='LAN gossip protocol'
)
]
)
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by