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]: advertised_kdc_encryptions TF Provider unexpectedly returned no resource state after having no errors in the resource creation #367

Open
Badr-azougagh opened this issue Jan 7, 2025 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@Badr-azougagh
Copy link

Badr-azougagh commented Jan 7, 2025

Terraform Core Version

1.6.3

ONTAP Provider Version

9.14

Affected Resource(s)

I am trying to apply this configuration in ontap via terraform:

resource "netapp-ontap_protocols_cifs_service_resource" "cifs_service" {

cx_profile_name = "cluster1"
name = "svm_third"
svm_name = "svm_third"
ad_domain ={
fqdn = "kdf.com"
user = "John"
password = "****"
organizational_unit = "*****" # Distinguished Name of the OU
}

}

This works, but when I try to add this part in the resource:

security = {
advertised_kdc_encryptions = ["aes-256","aes-128"]
}

I get the following error message:
image

Expected Behavior

I should be able to modify the advertised_kdc_encryptions.

Actual Behavior

image

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

`terraform {
required_providers {

netapp-ontap = {
  source = "NetApp/netapp-ontap"
  version = ">=1.0.0"
}

}
}

provider "netapp-ontap" {
connection_profiles = [
{
id = "cluster1"
name = "cluster1"
hostname = ""
username = ""
password = ""
https = true
insecure = true
validate_certs = false
ca_certs = []
}
]
}`

Steps to Reproduce

Run the resource:
resource "netapp-ontap_protocols_cifs_service_resource" "cifs_service" {

cx_profile_name = "cluster1"
name = "svm_third"
svm_name = "svm_third"
ad_domain ={
fqdn = "kdf.com"
user = "John"
password = "****"
organizational_unit = "*****" # Distinguished Name of the OU
}

}

Then run:
resource "netapp-ontap_protocols_cifs_service_resource" "cifs_service" {

cx_profile_name = "cluster1"
name = "svm_third"
svm_name = "svm_third"
ad_domain ={
fqdn = "kdf.com"
user = "John"
password = "****"
organizational_unit = "*****" # Distinguished Name of the OU
}
security = {
advertised_kdc_encryptions = ["aes-256","aes-128"]
}
}

@Badr-azougagh Badr-azougagh added the bug Something isn't working label Jan 7, 2025
@carchi8py carchi8py added this to the 2.0.1 milestone Jan 7, 2025
@suhasbshekar suhasbshekar moved this from 2.0.1 to 2.0.2 in Terraform for ONTAP Roadmap Jan 31, 2025
@suhasbshekar suhasbshekar modified the milestones: 2.0.1, 2.0.2 Jan 31, 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
Status: 2.0.2
Development

No branches or pull requests

3 participants