getAwsVpcIdByName
getAwsVpcIdByName(
vpcName: Input<string>,
provider?: Provider,
): Output<string>Resolves a VPC ID from an exact VPC Name tag value.
Remarks
The Name tag must identify exactly one VPC in the account and region selected by provider. When provider is omitted, the lookup uses the default AWS provider.
Parameters
vpcName(Input<string>) — Exact VPCNametag value.provider(Provider, optional) — Optional AWS provider used for the lookup.
Returns
Output<string>— The matching VPC ID as a Pulumi output.