Skip to content
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 google_compute_reservation datasource #16860

Conversation

modular-magician
Copy link
Collaborator

Fixes #15829

Release Note Template for Downstream PRs (will be copied)

`google_compute_reservation`

Derived from GoogleCloudPlatform/magic-modules#9339

* WIP: initial data source go file

* WIP: initial data source creation

* WIP: error shows project is required even though its marked as optional

* WIP: some attributes are not working as expected

* use read function from resource for data source

* fix reservationparsingid test

* add data source to provider_mmv1_resources handwritten list

* remove ParseComputeReservationId function

* remove testAccCheckDataSourceComputeReservationDestroy

* add google_compute_reservation data source docs

* lint fix

* Update mmv1/third_party/terraform/website/docs/d/compute_reservation.html.markdown

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* simplify data source test

* add ReservationIdParsing Test

* remove parsing Test

---------

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
[upstream:8a8ffc3384a59340f47efe97f18611b6672da9bd]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit 88d096a into hashicorp:main Dec 22, 2023
2 checks passed
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing data source google_compute_reservation
1 participant