We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the following code block:
import pulumi import pulumi_aws as aws config = pulumi.Config() subnet_id = config.require_object("subnetId") selected = aws.ec2.get_subnet(id=subnet_id) subnet = aws.ec2.SecurityGroup("subnet", vpc_id=selected.vpc_id, ingress=[{ "cidr_blocks": [selected.cidr_block], "from_port": 80, "to_port": 80, "protocol": "tcp", }])
the variable name subnet is extremely confusing as it's a security group being created with that function call.
subnet
File: themes/default/content//registry/packages/aws/api-docs/ec2/getsubnet
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the following code block:
the variable name
subnet
is extremely confusing as it's a security group being created with that function call.File: themes/default/content//registry/packages/aws/api-docs/ec2/getsubnet
The text was updated successfully, but these errors were encountered: