-
Notifications
You must be signed in to change notification settings - Fork 756
fix queue consumer id population #6181
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
base: next
Are you sure you want to change the base?
Conversation
fbc8e13 to
4b2e794
Compare
| type QueueConsumerDataSourceModel struct { | ||
| AccountID types.String `tfsdk:"account_id" path:"account_id,required"` | ||
| ConsumerID types.String `tfsdk:"consumer_id" path:"consumer_id,required"` | ||
| ConsumerID types.String `tfsdk:"consumer_id" json:"consumer_id,computed"` |
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.
Need to check why this is needed @musa-cf @mgirouard
|
This fix should resolve the issue #5652 |
| return nil | ||
| } | ||
|
|
||
| func testAccCheckCloudflareQueueConsumerBasic(rnd, accountID, queueName string) string { |
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 this be added as files under testdata ? Same for the below files.
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.
Refactored it into files, let me know if it looks ok?
…te consumer response
ddcdf39 to
b2f5f67
Compare
b2f5f67 to
cfb03d0
Compare
|
When will this be merged? This is a pretty nasty bug and no real workaround for it. |
Changes being requested
Updating queue consumer_id to be computed because it is generated during the create queue consumer API call
Additional context & links