Skip to content

Support X509 Federation #11493

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

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Conversation

EZIOJQ
Copy link
Contributor

@EZIOJQ EZIOJQ commented Aug 19, 2024

This PR adds support for X.509 federation support on workload identity pool. It fixes hashicorp/terraform-provider-google#18812.

For more details about how this feature works, check out the public doc here https://cloud.google.com/iam/docs/workload-identity-federation-with-x509-certificates

iambeta: added `x509` field to `google_iam_workload_identity_pool_provider ` resource

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@EZIOJQ EZIOJQ marked this pull request as ready for review August 19, 2024 21:33
Copy link

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

@melinath, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@github-actions github-actions bot requested a review from melinath August 19, 2024 21:34
Copy link
Member

@melinath melinath left a comment

Choose a reason for hiding this comment

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

@EZIOJQ This looks good overall. Just wanted to double-check that this field is GA and doesn't require an allowlist? The linked docs say it's in preview and that you need to contact folks to get it enabled - if that's still the case, we shouldn't add it to the provider yet.

@github-actions github-actions bot requested a review from melinath August 21, 2024 19:40
@EZIOJQ
Copy link
Contributor Author

EZIOJQ commented Aug 21, 2024

@EZIOJQ This looks good overall. Just wanted to double-check that this field is GA and doesn't require an allowlist? The linked docs say it's in preview and that you need to contact folks to get it enabled - if that's still the case, we shouldn't add it to the provider yet.

This feature will be GA soon, and we will remove the allowlist in next few weeks. We can merge the change after the allowlist is removed

@modular-magician

This comment was marked as outdated.

1 similar comment
@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

1 similar comment
@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@github-actions github-actions bot requested a review from melinath August 28, 2024 17:32
@EZIOJQ
Copy link
Contributor Author

EZIOJQ commented Aug 28, 2024

@melinath, we have this allowlist for half a year now. Are we okay to merge the change given it's long-term allowlist?

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 6 files changed, 473 insertions(+), 3 deletions(-))
google-beta provider: Diff ( 7 files changed, 565 insertions(+), 3 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 103 insertions(+))
Open in Cloud Shell: Diff ( 8 files changed, 244 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 18
Passed tests: 18
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • iambeta

$\textcolor{green}{\textsf{All tests passed!}}$

View the build log

Copy link
Member

@melinath melinath left a comment

Choose a reason for hiding this comment

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

Since the allowlist is about to come off anyway, I'd rather just wait until it's removed.

@melinath melinath self-requested a review September 3, 2024 17:45
@melinath
Copy link
Member

melinath commented Sep 3, 2024

after discussion, we've decided to move forward with the allowlist in place. Marking for review

Copy link
Member

@melinath melinath left a comment

Choose a reason for hiding this comment

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

Seems straightforward and the tests are passing.

@melinath melinath merged commit b2c4823 into GoogleCloudPlatform:main Sep 4, 2024
12 of 13 checks passed
iyabchen pushed a commit to iyabchen/magic-modules that referenced this pull request Sep 14, 2024
niharika-98 pushed a commit to niharika-98/magic-modules that referenced this pull request Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for workload identity x509 federation
3 participants