Skip to content

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.

typescript
let vpc = new aws.ec2.Vpc("vpc", {}, { version: "2.10.0" });

Content from the official Pulumi documentation (github.com/pulumi/docs).