https://pulumi.com logo
#aws
Title
# aws
m

millions-furniture-75402

11/04/2022, 3:41 PM
I'm trying to deploy an VPC to localstack, and getting a failure. Looks like there is a patch in flight for localstack via moto (https://github.com/localstack/localstack/issues/7046), but it's not released yet and I need a solution now. Do I have to create a custom resource component with a transformation to delete the property, or what are my options to have the AWS provider not attempt to set
enableNetworkAddressUsageMetrics
?
Copy code
aws:ec2:Vpc (default):
    error: 1 error occurred:
        * creating urn:pulumi:localstack::content-asset-service::aws:ec2/vpc:Vpc::default: 1 error occurred:
        * error reading EC2 VPC (vpc-5344499e) Attribute (enableNetworkAddressUsageMetrics): InvalidParameterValue: Value enable_network_address_usage_metrics is invalid for parameter.
big brain move, I pinned the provider to an older version before it supported this property.
3 Views