diff --git a/provider/cmd/pulumi-resource-azure-native/schema.json b/provider/cmd/pulumi-resource-azure-native/schema.json index 83b9465f3ccd..d9dd09fdb6f4 100644 --- a/provider/cmd/pulumi-resource-azure-native/schema.json +++ b/provider/cmd/pulumi-resource-azure-native/schema.json @@ -715441,19 +715441,23 @@ }, "accountName": { "type": "string", - "description": "Specifies the storage account in which to create the storage container." + "description": "Specifies the storage account in which to create the storage container.", + "willReplaceOnChanges": true }, "blobName": { "type": "string", - "description": "The name of the storage blob. Must be unique within the storage container the blob is located. If this property is not specified it will be set to the name of the resource." + "description": "The name of the storage blob. Must be unique within the storage container the blob is located. If this property is not specified it will be set to the name of the resource.", + "willReplaceOnChanges": true }, "containerName": { "type": "string", - "description": "The name of the storage container in which this blob should be created." + "description": "The name of the storage container in which this blob should be created.", + "willReplaceOnChanges": true }, "contentMd5": { "type": "string", - "description": "The MD5 sum of the blob contents. Cannot be defined if blob type is Append." + "description": "The MD5 sum of the blob contents. Cannot be defined if blob type is Append.", + "willReplaceOnChanges": true }, "contentType": { "type": "string", @@ -715468,16 +715472,19 @@ }, "resourceGroupName": { "type": "string", - "description": "The name of the resource group within the user's subscription." + "description": "The name of the resource group within the user's subscription.", + "willReplaceOnChanges": true }, "source": { "$ref": "pulumi.json#/Asset", - "description": "An asset to copy to the blob contents. This field cannot be specified for Append blobs." + "description": "An asset to copy to the blob contents. This field cannot be specified for Append blobs.", + "willReplaceOnChanges": true }, "type": { "$ref": "#/types/azure-native:storage:BlobType", "description": "The type of the storage blob to be created. Defaults to 'Block'.", - "default": "Block" + "default": "Block", + "willReplaceOnChanges": true } }, "requiredInputs": [ diff --git a/provider/pkg/gen/__snapshots__/gen_vnet_test.snap b/provider/pkg/gen/__snapshots__/gen_vnet_test.snap index 2b57492ada40..0760f3a2b322 100755 --- a/provider/pkg/gen/__snapshots__/gen_vnet_test.snap +++ b/provider/pkg/gen/__snapshots__/gen_vnet_test.snap @@ -130706,7 +130706,7 @@ Language: {}, Secret: false, ReplaceOnChanges: false, - WillReplaceOnChanges: false, + WillReplaceOnChanges: true, }, "blobName": { TypeSpec: schema.TypeSpec{ @@ -130726,7 +130726,7 @@ Language: {}, Secret: false, ReplaceOnChanges: false, - WillReplaceOnChanges: false, + WillReplaceOnChanges: true, }, "containerName": { TypeSpec: schema.TypeSpec{ @@ -130746,7 +130746,7 @@ Language: {}, Secret: false, ReplaceOnChanges: false, - WillReplaceOnChanges: false, + WillReplaceOnChanges: true, }, "contentMd5": { TypeSpec: schema.TypeSpec{ @@ -130766,7 +130766,7 @@ Language: {}, Secret: false, ReplaceOnChanges: false, - WillReplaceOnChanges: false, + WillReplaceOnChanges: true, }, "contentType": { TypeSpec: schema.TypeSpec{ @@ -130834,7 +130834,7 @@ Language: {}, Secret: false, ReplaceOnChanges: false, - WillReplaceOnChanges: false, + WillReplaceOnChanges: true, }, "source": { TypeSpec: schema.TypeSpec{ @@ -130854,7 +130854,7 @@ Language: {}, Secret: false, ReplaceOnChanges: false, - WillReplaceOnChanges: false, + WillReplaceOnChanges: true, }, "type": { TypeSpec: schema.TypeSpec{ @@ -130874,7 +130874,7 @@ Language: {}, Secret: false, ReplaceOnChanges: false, - WillReplaceOnChanges: false, + WillReplaceOnChanges: true, }, }, RequiredInputs: {"resourceGroupName", "accountName", "containerName"}, diff --git a/provider/pkg/resources/customresources/custom_storage.go b/provider/pkg/resources/customresources/custom_storage.go index fba3f5aaefb9..af1c06776a2c 100644 --- a/provider/pkg/resources/customresources/custom_storage.go +++ b/provider/pkg/resources/customresources/custom_storage.go @@ -318,20 +318,24 @@ func newBlob(env *azure.Environment, accountsClient *storage.AccountsClient) *Cu TypeSpec: schema.TypeSpec{Ref: "#/types/azure-native:storage:BlobAccessTier"}, }, accountName: { - Description: "Specifies the storage account in which to create the storage container.", - TypeSpec: schema.TypeSpec{Type: "string"}, + Description: "Specifies the storage account in which to create the storage container.", + TypeSpec: schema.TypeSpec{Type: "string"}, + WillReplaceOnChanges: true, }, blobName: { - Description: "The name of the storage blob. Must be unique within the storage container the blob is located. If this property is not specified it will be set to the name of the resource.", - TypeSpec: schema.TypeSpec{Type: "string"}, + Description: "The name of the storage blob. Must be unique within the storage container the blob is located. If this property is not specified it will be set to the name of the resource.", + TypeSpec: schema.TypeSpec{Type: "string"}, + WillReplaceOnChanges: true, }, containerName: { - Description: "The name of the storage container in which this blob should be created.", - TypeSpec: schema.TypeSpec{Type: "string"}, + Description: "The name of the storage container in which this blob should be created.", + TypeSpec: schema.TypeSpec{Type: "string"}, + WillReplaceOnChanges: true, }, contentMd5: { - Description: "The MD5 sum of the blob contents. Cannot be defined if blob type is Append.", - TypeSpec: schema.TypeSpec{Type: "string"}, + Description: "The MD5 sum of the blob contents. Cannot be defined if blob type is Append.", + TypeSpec: schema.TypeSpec{Type: "string"}, + WillReplaceOnChanges: true, }, contentType: { Description: "The content type of the storage blob. Defaults to `application/octet-stream`.", @@ -342,17 +346,20 @@ func newBlob(env *azure.Environment, accountsClient *storage.AccountsClient) *Cu TypeSpec: schema.TypeSpec{Type: "object", AdditionalProperties: &schema.TypeSpec{Type: "string"}}, }, resourceGroupName: { - Description: "The name of the resource group within the user's subscription.", - TypeSpec: schema.TypeSpec{Type: "string"}, + Description: "The name of the resource group within the user's subscription.", + TypeSpec: schema.TypeSpec{Type: "string"}, + WillReplaceOnChanges: true, }, source: { - Description: "An asset to copy to the blob contents. This field cannot be specified for Append blobs.", - TypeSpec: schema.TypeSpec{Ref: "pulumi.json#/Asset"}, + Description: "An asset to copy to the blob contents. This field cannot be specified for Append blobs.", + TypeSpec: schema.TypeSpec{Ref: "pulumi.json#/Asset"}, + WillReplaceOnChanges: true, }, typeProp: { - Description: "The type of the storage blob to be created. Defaults to 'Block'.", - TypeSpec: schema.TypeSpec{Ref: "#/types/azure-native:storage:BlobType"}, - Default: "Block", + Description: "The type of the storage blob to be created. Defaults to 'Block'.", + TypeSpec: schema.TypeSpec{Ref: "#/types/azure-native:storage:BlobType"}, + Default: "Block", + WillReplaceOnChanges: true, }, }, RequiredInputs: []string{resourceGroupName, accountName, containerName},