-
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 forward_to property to servicebus subscription resource #861
Conversation
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 mostly LGTM - if we can split out the test this should be good to merge 👍
@@ -98,6 +98,9 @@ The following arguments are supported: | |||
supports the concept of a session. Defaults to false. Changing this forces a | |||
new resource to be created. | |||
|
|||
* `forward_to` - (Optional) The name of a Queue or Topic to automatically forward | |||
messages to. Defaults to none. |
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.
We can remove the Defaults to none
section here
"forward_to": { | ||
Type: schema.TypeString, | ||
Optional: true, | ||
Description: "The name of a Queue or Topic to automatically forward messages to.", |
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.
as discussed on Slack, we don't generally specify the description for schema fields in the Azure Provider - we may in the future when there's a value for it (but there's no harm in leaving this in 😄)
} | ||
|
||
|
||
`, rInt, location, rInt, rInt, rInt, rInt) | ||
} |
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.
can we make a specific test for forward to, since it's an optional field? we tend to use _basic
to signify only the required fields
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.
LGTM 👍
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 👉 hashibot-feedback@hashicorp.com. Thanks! |
Adds forward_to property to servicebus subscription resource & fixes #810.