-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add azurerm_eventhub_namespace_network_rule_set resource #9038
Conversation
…m_eventhub_namespace
Probably this issue (Azure/azure-cli#12903) is related ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @kvendingoldo, thanks for opening this PR! Unfortunately, it doesn't do anything at the moment. You've declared it in the schema but we need to grab it in the CreateUpdate method and set it in the read method. We'll also want to update the documentation.
"allow_trusted_microsoft_services_bypass_firewall": { | ||
Type: schema.TypeBool, | ||
Optional: true, | ||
Default: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is risky and we need to confirm that this value is actually set to false when this resource is created. If it isn't false on creation, this will break every user using this resource because Terraform will try and update this value to false.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's false by default
Ahhh, did a bit more digging and it looks like it's not supported in the sdk at the moment. Is that right @kvendingoldo? |
@mbfrahry it's true and I'm trying to clarify what should be do for getting support from azure sdk side. As we can see for now Terraform is using eventhub lib with version 2018-01-01-preview. Probably issue that I highlighted below will help us (Azure/azure-cli#12903) |
It looks like it's even missing from their api-specs. It's probably worth opening an issue on that repo and hopefully those maintainers can also push the service team to help. |
Issue Azure/azure-rest-api-specs#11425 created, let's wait for an answer. |
@mbfrahry looks like that it is supported via 2018-01-01-preview: trustedServiceAccessEnabled. |
I'm not seeing |
@mbfrahry will introduce new change today a little bit later, looks like that I found new solution |
@mbfrahry I've decided to implement new resource: It's a draft. |
@mbfrahry WDYT? Should I update sdk lib or what? |
At the moment we just have to wait because it's on the services team to provide the attribute we need since it's not in the sdk or the api-specs where the sdk is generated from. |
Not sure if this will help or not but using the following page we were able to script out a post terraform deployment fix. We just add the trustedServiceAccessEnabled property and set it to true. |
@bigglesuk69 yes, it's a good as ad-hoc solution. |
Hey @kvendingoldo - it looks like this is still blocked, as such i am going to close it. Let me know if i'm mistaken otherwise we can revisit this once the SDK has bene updated. Thanks again! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
No description provided.