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 data source for apphub discovered service #2041

Conversation

modular-magician
Copy link
Collaborator

Add data source for apphub discovered service to automate querying and facilitate its use while registering service.
FIXES hashicorp/terraform-provider-google#17471

Based on other PRs:
GoogleCloudPlatform/magic-modules#10079
GoogleCloudPlatform/magic-modules#10048
GoogleCloudPlatform/magic-modules#10152

Release Note Template for Downstream PRs (will be copied)

`google_apphub_discovered_service`

Derived from GoogleCloudPlatform/magic-modules#10105

* Add data source for apphub discovered service

* Add data source for apphub discovered service'

* Add data source for apphub discovered service

* resolved comments

* retry logic added

* add tests and documentation

* Corrected tests and added project field in the data source

* changed id field

* Added random_suffix for the resources created and enabled iam policy and compute api

* modified retry logic

* Modified schema for the data source, and tests

* Removed IAM permission blocks

* Add dependency for compute api

* Resolve merge conflict

* Add time sleep

* Modified test function name

* Shorten service project name

* Add billing account

* corrected get env variable function call

* Modified project id

* Combined time delay

* Resolving comments

* Remove retry logic and add time sleep for resource ingestion

[upstream:922cc703a5cc9d371a1396bec930869be9d890e9]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician requested a review from a team as a code owner March 12, 2024 14:24
@modular-magician modular-magician requested review from iyabchen and removed request for a team March 12, 2024 14:24
@modular-magician modular-magician merged commit 792724e into GoogleCloudPlatform:main Mar 12, 2024
4 checks passed
Copy link

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@modular-magician modular-magician deleted the downstream-pr-922cc703a5cc9d371a1396bec930869be9d890e9 branch November 18, 2024 06:41
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.

New data source for Discovered Service in App Hub
1 participant