Resource option: version
The version
resource option specifies a provider version to use when operating on a resource. This version overrides the version information inferred from the current package. This option was built to be used directly by the Pulumi SDK. version
should not be used directly during normal operations.
let vpc = new aws.ec2.Vpc("vpc", {}, { version: "2.10.0" });
let vpc = new aws.ec2.Vpc("vpc", {}, { version: "2.10.0" });
vpc = ec2.Vpc("vpc", opts=ResourceOptions(version="2.10.0"))
vpc, _ := ec2.NewVpc(ctx, "vpc", &ec2.VpcArgs{}, pulumi.Version("2.10.0"))
var vpc = new Aws.Ec2.Vpc("vpc", new Aws.Ec2.VpcArgs(),
new CustomResourceOptions { Version = "2.10.0" });
var vpc = new com.pulumi.aws.ec2.Vpc("vpc",
com.pulumi.aws.ec2.VpcArgs.Empty,
CustomResourceOptions.builder()
.version("2.10.0" )
.build();
resources:
vpc:
type: aws:ec2:Vpc
options:
version: "2.10.0"
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.