Support X509 Federation
This PR adds support for X.509 federation support on workload identity pool. It fixes https://github.com/hashicorp/terraform-provider-google/issues/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
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 ( 5 files changed, 470 insertions(+), 3 deletions(-))
google-beta provider: Diff ( 6 files changed, 562 insertions(+), 3 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 103 insertions(+))
Open in Cloud Shell: Diff ( 8 files changed, 244 insertions(+))
Tests analytics
Total tests: 18 Passed tests: 15 Skipped tests: 0 Affected tests: 3
Click here to see the affected service packages
- iambeta
Action taken
Found 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
- TestAccIAMBetaWorkloadIdentityPoolProvider_iamWorkloadIdentityPoolProviderX509BasicExample
- TestAccIAMBetaWorkloadIdentityPoolProvider_iamWorkloadIdentityPoolProviderX509FullExample
- TestAccIAMBetaWorkloadIdentityPoolProvider_x509
$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccIAMBetaWorkloadIdentityPoolProvider_iamWorkloadIdentityPoolProviderX509BasicExample[Debug log]
TestAccIAMBetaWorkloadIdentityPoolProvider_iamWorkloadIdentityPoolProviderX509FullExample[Debug log]
TestAccIAMBetaWorkloadIdentityPoolProvider_x509[Debug log]
$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$
$\textcolor{green}{\textsf{All tests passed!}}$
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.
@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
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 ( 5 files changed, 470 insertions(+), 3 deletions(-))
google-beta provider: Diff ( 6 files changed, 562 insertions(+), 3 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 103 insertions(+))
Open in Cloud Shell: Diff ( 8 files changed, 244 insertions(+))
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 ( 5 files changed, 470 insertions(+), 3 deletions(-))
google-beta provider: Diff ( 6 files changed, 562 insertions(+), 3 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 103 insertions(+))
Open in Cloud Shell: Diff ( 8 files changed, 244 insertions(+))
Tests analytics
Total tests: 18 Passed tests: 17 Skipped tests: 0 Affected tests: 1
Click here to see the affected service packages
- iambeta
Action taken
Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
- TestAccIAMBetaWorkloadIdentityPoolProvider_x509
Tests analytics
Total tests: 18 Passed tests: 17 Skipped tests: 0 Affected tests: 1
Click here to see the affected service packages
- iambeta
Action taken
Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
- TestAccIAMBetaWorkloadIdentityPoolProvider_x509
$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccIAMBetaWorkloadIdentityPoolProvider_x509[Debug log]
$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$
$\textcolor{green}{\textsf{All tests passed!}}$
$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccIAMBetaWorkloadIdentityPoolProvider_x509[Debug log]
$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$
$\textcolor{green}{\textsf{All tests passed!}}$
@melinath, we have this allowlist for half a year now. Are we okay to merge the change given it's long-term allowlist?
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 ( 8 files changed, 565 insertions(+), 6 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 103 insertions(+))
Open in Cloud Shell: Diff ( 8 files changed, 244 insertions(+))
Tests analytics
Total tests: 18 Passed tests: 17 Skipped tests: 0 Affected tests: 1
Click here to see the affected service packages
- iambeta
Action taken
Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
- TestAccIAMBetaWorkloadIdentityPoolProvider_x509
$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccIAMBetaWorkloadIdentityPoolProvider_x509[Debug log]
$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$
$\textcolor{green}{\textsf{All tests passed!}}$
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(+))
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
after discussion, we've decided to move forward with the allowlist in place. Marking for review