Skip to content

Add google_site_verification_owner resource #8287

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

Conversation

modular-magician
Copy link
Collaborator

This is the third and final (hopefully) PR implementing issue 5698. The first two were #10999 and #11624.

google_site_verification_owner is a fine grained resource on the owners field of google_site_verification_web_resource. That field is a little funky: it's automatically populated with every user that has verified ownership and every user that verified owners have optionally added. What makes it particularly funky is that multiple users can independently verify ownership, for example:

  1. [email protected] verifies www.example.com, the owners field will contain ["[email protected]"]
  2. Separately, [email protected] verifies www.example.com, the owners field now contains ["[email protected]", "[email protected]"]
  3. One of the previous verified owners adds [email protected] as an owner, the owners field now contains ["[email protected]", "[email protected]", "[email protected]"]

Verified owners aren't explicitly configured either; they're implicitly added based on the authenticated identity of the user requesting verification.

There's more info about the resource in the included markdown doc.

Release Note Template for Downstream PRs (will be copied)

`google_site_verification_owner`

Derived from GoogleCloudPlatform/magic-modules#11716

Co-authored-by: Thomas Rodgers <[email protected]>

[upstream:97023007d8f027cfba8fd765bcadffcea0dc2b3b]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit 62f9bfa into hashicorp:main Sep 26, 2024
2 checks passed
@modular-magician modular-magician deleted the downstream-pr-97023007d8f027cfba8fd765bcadffcea0dc2b3b branch November 16, 2024 03:37
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.

1 participant