Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Machine Catalog: Setting storage_cost_saving to true when storage_type or wbc_disk_storage_type is set to Standard_LRS results in an error #204

Open
sourav-citrix opened this issue Feb 18, 2025 · 0 comments
Labels
bug Something isn't working 🔧

Comments

@sourav-citrix
Copy link
Collaborator

sourav-citrix commented Feb 18, 2025

Describe the bug

For citrix_machine_catalog resource, setting storage_cost_saving to true when storage_type or wbc_disk_storage_type is set to Standard_LRS results in an error.
Adding a validator can help in early detection of this error.

Terraform command (import, apply, etc): apply
Resource impacted: citrix_machine_catalog

Versions

citrix/citrix provider: v1.0.11

Terraform console output

ErrorMessage : Error: StorageTypeAtShutdown and the storage type custom properties cannot be identical. The following custom properties have a storage type that matches StorageTypeAtShutdown: 'StorageType, WBCDiskStorageType'.

Workaround

When using Standard_LRS as storage_type or wbc_disk_storage_type, the attribute storage_cost_saving can only be set to false

CitrixIssueId: 61017

@sourav-citrix sourav-citrix added bug Something isn't working 🔧 labels Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🔧
Projects
None yet
Development

No branches or pull requests

1 participant