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]: Not including all arguments in volume.nas causes resource to be updated on apply with no changes made #258

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

Comments

@pgsmith123
Copy link

Terraform Core Version

1.3.3

ONTAP Provider Version

1.1.2

Affected Resource(s)

netapp-ontap_storage_volume_resource

Expected Behavior

Since no changes were made to the resource configuration no changes should be made to the resource.

Actual Behavior

the resource is updated

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

resource "netapp-ontap_storage_volume_resource" "volume" {
cx_profile_name = var.storage_tier
name = "vol_${local.volume_name}"
comment = jsonencode({"shareName" = var.share_name, "customerNumber" = var.customer_number})
svm_name = local.svm_name
qos_policy_group = local.qos_policy
aggregates = [
{
name = local.aggregate
#name = local.aggregate_name_local
}
]
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 = "/${var.share_name}"
}
}

Steps to Reproduce

run terraform apply on existing 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 2, 2024
@carchi8py carchi8py added this to the 2.0.1 milestone Aug 7, 2024
@carchi8py carchi8py moved this from Future to 2.0.1 in Terraform for ONTAP Roadmap Aug 7, 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.1
Development

No branches or pull requests

2 participants