Skip to content

Conversation

@jkoe-cf
Copy link
Contributor

@jkoe-cf jkoe-cf commented Sep 15, 2025

  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

Updating queue consumer_id to be computed because it is generated during the create queue consumer API call

Additional context & links

@jkoe-cf jkoe-cf force-pushed the jkoe/fix-queue-consumer-id branch 2 times, most recently from fbc8e13 to 4b2e794 Compare September 22, 2025 17:39
@jkoe-cf jkoe-cf marked this pull request as ready for review September 22, 2025 17:39
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"`
Copy link
Member

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

@eperegudov
Copy link

This fix should resolve the issue #5652

return nil
}

func testAccCheckCloudflareQueueConsumerBasic(rnd, accountID, queueName string) string {
Copy link
Member

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.

Copy link
Contributor Author

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?

@jkoe-cf jkoe-cf force-pushed the jkoe/fix-queue-consumer-id branch from ddcdf39 to b2f5f67 Compare October 8, 2025 20:41
@jkoe-cf jkoe-cf force-pushed the jkoe/fix-queue-consumer-id branch from b2f5f67 to cfb03d0 Compare October 10, 2025 23:20
@jkoe-cf jkoe-cf requested a review from vaishakdinesh October 13, 2025 17:20
@ali-moussavi
Copy link

When will this be merged? This is a pretty nasty bug and no real workaround for it.

@jkoe-cf jkoe-cf changed the base branch from main to next November 5, 2025 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants