Skip to content

Add google_site_verification_owner resource #2863

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 requested a review from a team as a code owner September 26, 2024 16:34
@modular-magician modular-magician requested review from ScottSuarez and removed request for a team September 26, 2024 16:34
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 merged commit 699f688 into GoogleCloudPlatform:main Sep 26, 2024
1 check passed
@modular-magician modular-magician deleted the downstream-pr-97023007d8f027cfba8fd765bcadffcea0dc2b3b branch November 18, 2024 07:34
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