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]: efficiency policy name - #255

Open
pgsmith123 opened this issue Aug 1, 2024 · 0 comments
Open

[Bug]: efficiency policy name - #255

pgsmith123 opened this issue Aug 1, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@pgsmith123
Copy link

Terraform Core Version

1.9.3

ONTAP Provider Version

1.1.2

Affected Resource(s)

netapp-ontap_storage_volume_resource

Expected Behavior

The efficiency policy should be set to the string value of the effeciency.policy_name argument

Actual Behavior

The efficiency policy name was set to "-"

Relevant Error/Panic Output Snippet

When applying changes to netapp-ontap_storage_volume_resource.volume, provider "provider[\"registry.terraform.io/netapp/netapp-ontap\"]" produced an unexpected new 
│ value: .efficiency.policy_name: was cty.StringVal("default"), but now cty.StringVal("-").

Terraform Configuration Files

resource "netapp-ontap_storage_volume_resource" "volume" {
cx_profile_name = var.storage_tier
name = local.volume_name
comment = jsonencode({"shareName" = var.share_name, "customerNumber" = var.customer_number})
svm_name = local.svm
qos_policy_group = local.qos_policy
aggregates = [
{
name = local.aggregate
}
]
space_guarantee = "none"
snapshot_policy = var.snapshot_policy
space = {
size = var.volume_size
size_unit = "gb"
percent_snapshot_space = 5
logical_space = {
enforcement = true
reporting = true
}
}
nas = {
export_policy_name = var.export_policy_name
junction_path = "/${lower(var.share_name)}"
}
efficiency = {
policy_name = "default"
}
}

Steps to Reproduce

Creating a volume

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

@pgsmith123 pgsmith123 added the bug Something isn't working label Aug 1, 2024
@carchi8py carchi8py assigned carchi8py and suhasbshekar and unassigned carchi8py Aug 1, 2024
@carchi8py carchi8py moved this from Future to 1.1.3 in Terraform for ONTAP Roadmap Aug 1, 2024
@carchi8py carchi8py added this to the 1.1.3 milestone Aug 1, 2024
@suhasbshekar suhasbshekar moved this from 1.1.3 to 1.2.0 in Terraform for ONTAP Roadmap Aug 1, 2024
@suhasbshekar suhasbshekar modified the milestones: 1.1.3, 1.2.0, 2.0, 2.0.1 Aug 2, 2024
@carchi8py carchi8py modified the milestones: 2.0.1, 2.0.2 Dec 13, 2024
@carchi8py carchi8py moved this from 2.0.1 to 2.0.2 in Terraform for ONTAP Roadmap Dec 13, 2024
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
Status: 2.0.2
Development

No branches or pull requests

3 participants