Skip to content

add bufo resource and bufo list resource#1

Merged
austinvalle merged 7 commits intoaustinvalle:mainfrom
stephybun:f/list-bufos
Sep 30, 2025
Merged

add bufo resource and bufo list resource#1
austinvalle merged 7 commits intoaustinvalle:mainfrom
stephybun:f/list-bufos

Conversation

@stephybun
Copy link
Copy Markdown
Contributor

Naming is hard

$ terraform query

list.bufo_bufo.example   name=all-the-bufo                                                                 all-the-bufo
list.bufo_bufo.example   name=awesomebufo                                                                  awesomebufo
list.bufo_bufo.example   name=be-the-bufo-you-want-to-see                                                  be-the-bufo-you-want-to-see
list.bufo_bufo.example   name=bronze-bufo                                                                  bronze-bufo
list.bufo_bufo.example   name=bufo-am-i                                                                    bufo-am-i
list.bufo_bufo.example   name=bufo-android                                                                 bufo-android
list.bufo_bufo.example   name=bufo-angrily-gives-you-a-birthday-gift                                       bufo-angrily-gives-you-a-birthday-gift
list.bufo_bufo.example   name=bufo-angrily-gives-you-white-elephant-gift                                   bufo-angrily-gives-you-white-elephant-gift
list.bufo_bufo.example   name=bufo-arr                                                                     bufo-arr
list.bufo_bufo.example   name=bufo-arrr                                                                    bufo-arrr
list.bufo_bufo.example   name=bufo-arrrrrr                                                                 bufo-arrrrrr
list.bufo_bufo.example   name=bufo-arrrrrrr                                                                bufo-arrrrrrr
list.bufo_bufo.example   name=bufo-arrrrrrrrr                                                              bufo-arrrrrrrrr
list.bufo_bufo.example   name=bufo-arrrrrrrrrrrrrrr                                                        bufo-arrrrrrrrrrrrrrr
list.bufo_bufo.example   name=bufo-asks-politely-to-stop                                                   bufo-asks-politely-to-stop
list.bufo_bufo.example   name=bufo-atc                                                                     bufo-atc
list.bufo_bufo.example   name=bufo-back-pat                                                                bufo-back-pat
list.bufo_bufo.example   name=bufo-backpat                                                                 bufo-backpat
list.bufo_bufo.example   name=bufo-bag-of-bufos                                                            bufo-bag-of-bufos
list.bufo_bufo.example   name=bufo-bait                                                                    bufo-bait
list.bufo_bufo.example   name=bufo-baker                                                                   bufo-baker
list.bufo_bufo.example   name=bufo-bandana                                                                 bufo-bandana
list.bufo_bufo.example   name=bufo-baseball                                                                bufo-baseball
list.bufo_bufo.example   name=bufo-basketball                                                              bufo-basketball
list.bufo_bufo.example   name=bufo-batman                                                                  bufo-batman
...

Copy link
Copy Markdown
Owner

@austinvalle austinvalle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @stephybun! Will merge and release this with v2.1.0 🚀

}

func (r *bufo) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) {
resp.TypeName = req.ProviderTypeName + "_bufo"
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming is hard

I agree 😆, I think it probably could of just been named the same as the provider type name -> bufo. Since this is just a test resource it's fine for now 👍🏻

Comment thread internal/provider/bufo_resource.go Outdated
Comment thread internal/provider/bufo_resource.go Outdated
Comment thread internal/provider/bufo_resource.go Outdated
Comment thread internal/provider/bufo_resource.go Outdated
@austinvalle austinvalle merged commit b2c2a12 into austinvalle:main Sep 30, 2025
3 checks passed
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.

2 participants