Skip to content

feat(iam): add ephemeral api_key lifecycle handling - #4252

Draft
estellesoulard wants to merge 1 commit into
mainfrom
feat/ephemeral-iam-api-key
Draft

feat(iam): add ephemeral api_key lifecycle handling#4252
estellesoulard wants to merge 1 commit into
mainfrom
feat/ephemeral-iam-api-key

Conversation

@estellesoulard

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added the iam IAM issues, bugs and feature requests label Aug 7, 2026
@codecov-commenter

Copy link
Copy Markdown

❌ 10 Tests Failed:

Tests completed Failed Passed Skipped
1152 10 1142 884
View the top 3 failed test(s) by shortest run time
github.com/scaleway/terraform-provider-scaleway/v2/internal/services/iam::TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_Create
Stack Traces | 0s run time
=== RUN   TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_Create
    api_key_ephemeral_resource_test.go:440: 
        	Error Trace:	.../internal/acctest/acctest.go:132
        	            				.../services/iam/api_key_ephemeral_resource_test.go:440
        	Error:      	Received unexpected error:
        	            	requested cassette not found: .../iam/testdata/api-key-ephemeral-resource-with-annotations-identity-create.cassette.yaml
        	Test:       	TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_Create
--- FAIL: TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_Create (0.00s)
github.com/scaleway/terraform-provider-scaleway/v2/internal/services/iam::TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_ErrorMismatch
Stack Traces | 0s run time
=== RUN   TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_ErrorMismatch
    api_key_ephemeral_resource_test.go:779: 
        	Error Trace:	.../internal/acctest/acctest.go:132
        	            				.../services/iam/api_key_ephemeral_resource_test.go:779
        	Error:      	Received unexpected error:
        	            	requested cassette not found: .../iam/testdata/api-key-ephemeral-resource-with-annotations-identity-error-mismatch.cassette.yaml
        	Test:       	TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_ErrorMismatch
--- FAIL: TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_ErrorMismatch (0.00s)
github.com/scaleway/terraform-provider-scaleway/v2/internal/services/iam::TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_NoRecreate
Stack Traces | 0s run time
=== RUN   TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_NoRecreate
    api_key_ephemeral_resource_test.go:545: 
        	Error Trace:	.../internal/acctest/acctest.go:132
        	            				.../services/iam/api_key_ephemeral_resource_test.go:545
        	Error:      	Received unexpected error:
        	            	requested cassette not found: .../iam/testdata/api-key-ephemeral-resource-with-annotations-identity-no-recreate.cassette.yaml
        	Test:       	TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_NoRecreate
--- FAIL: TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_NoRecreate (0.00s)
github.com/scaleway/terraform-provider-scaleway/v2/internal/services/iam::TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_Recreate
Stack Traces | 0s run time
=== RUN   TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_Recreate
    api_key_ephemeral_resource_test.go:640: 
        	Error Trace:	.../internal/acctest/acctest.go:132
        	            				.../services/iam/api_key_ephemeral_resource_test.go:640
        	Error:      	Received unexpected error:
        	            	requested cassette not found: .../iam/testdata/api-key-ephemeral-resource-with-annotations-identity-recreate.cassette.yaml
        	Test:       	TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_Recreate
--- FAIL: TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_Recreate (0.00s)
github.com/scaleway/terraform-provider-scaleway/v2/internal/services/iam::TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_Replace
Stack Traces | 0s run time
=== RUN   TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_Replace
    api_key_ephemeral_resource_test.go:492: 
        	Error Trace:	.../internal/acctest/acctest.go:132
        	            				.../services/iam/api_key_ephemeral_resource_test.go:492
        	Error:      	Received unexpected error:
        	            	requested cassette not found: .../iam/testdata/api-key-ephemeral-resource-with-annotations-identity-replace.cassette.yaml
        	Test:       	TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_Replace
--- FAIL: TestAccApiKeyEphemeralResource_WithAnnotationsIdentity_Replace (0.00s)
github.com/scaleway/terraform-provider-scaleway/v2/internal/services/iam::TestAccApiKeyEphemeralResource_WithDescriptionIdentity_Create
Stack Traces | 0s run time
=== RUN   TestAccApiKeyEphemeralResource_WithDescriptionIdentity_Create
    api_key_ephemeral_resource_test.go:140: 
        	Error Trace:	.../internal/acctest/acctest.go:132
        	            				.../services/iam/api_key_ephemeral_resource_test.go:140
        	Error:      	Received unexpected error:
        	            	requested cassette not found: .../iam/testdata/api-key-ephemeral-resource-with-description-identity-create.cassette.yaml
        	Test:       	TestAccApiKeyEphemeralResource_WithDescriptionIdentity_Create
--- FAIL: TestAccApiKeyEphemeralResource_WithDescriptionIdentity_Create (0.00s)
github.com/scaleway/terraform-provider-scaleway/v2/internal/services/iam::TestAccApiKeyEphemeralResource_WithDescriptionIdentity_ErrorMismatch
Stack Traces | 0s run time
=== RUN   TestAccApiKeyEphemeralResource_WithDescriptionIdentity_ErrorMismatch
    api_key_ephemeral_resource_test.go:735: 
        	Error Trace:	.../internal/acctest/acctest.go:132
        	            				.../services/iam/api_key_ephemeral_resource_test.go:735
        	Error:      	Received unexpected error:
        	            	requested cassette not found: .../iam/testdata/api-key-ephemeral-resource-with-description-identity-error-mismatch.cassette.yaml
        	Test:       	TestAccApiKeyEphemeralResource_WithDescriptionIdentity_ErrorMismatch
--- FAIL: TestAccApiKeyEphemeralResource_WithDescriptionIdentity_ErrorMismatch (0.00s)
github.com/scaleway/terraform-provider-scaleway/v2/internal/services/iam::TestAccApiKeyEphemeralResource_WithDescriptionIdentity_NoRecreate
Stack Traces | 0s run time
=== RUN   TestAccApiKeyEphemeralResource_WithDescriptionIdentity_NoRecreate
    api_key_ephemeral_resource_test.go:247: 
        	Error Trace:	.../internal/acctest/acctest.go:132
        	            				.../services/iam/api_key_ephemeral_resource_test.go:247
        	Error:      	Received unexpected error:
        	            	requested cassette not found: .../iam/testdata/api-key-ephemeral-resource-with-description-identity-no-recreate.cassette.yaml
        	Test:       	TestAccApiKeyEphemeralResource_WithDescriptionIdentity_NoRecreate
--- FAIL: TestAccApiKeyEphemeralResource_WithDescriptionIdentity_NoRecreate (0.00s)
github.com/scaleway/terraform-provider-scaleway/v2/internal/services/iam::TestAccApiKeyEphemeralResource_WithDescriptionIdentity_Recreate
Stack Traces | 0s run time
=== RUN   TestAccApiKeyEphemeralResource_WithDescriptionIdentity_Recreate
    api_key_ephemeral_resource_test.go:342: 
        	Error Trace:	.../internal/acctest/acctest.go:132
        	            				.../services/iam/api_key_ephemeral_resource_test.go:342
        	Error:      	Received unexpected error:
        	            	requested cassette not found: .../iam/testdata/api-key-ephemeral-resource-with-description-identity-recreate.cassette.yaml
        	Test:       	TestAccApiKeyEphemeralResource_WithDescriptionIdentity_Recreate
--- FAIL: TestAccApiKeyEphemeralResource_WithDescriptionIdentity_Recreate (0.00s)
github.com/scaleway/terraform-provider-scaleway/v2/internal/services/iam::TestAccApiKeyEphemeralResource_WithDescriptionIdentity_Replace
Stack Traces | 0s run time
=== RUN   TestAccApiKeyEphemeralResource_WithDescriptionIdentity_Replace
    api_key_ephemeral_resource_test.go:193: 
        	Error Trace:	.../internal/acctest/acctest.go:132
        	            				.../services/iam/api_key_ephemeral_resource_test.go:193
        	Error:      	Received unexpected error:
        	            	requested cassette not found: .../iam/testdata/api-key-ephemeral-resource-with-description-identity-replace.cassette.yaml
        	Test:       	TestAccApiKeyEphemeralResource_WithDescriptionIdentity_Replace
--- FAIL: TestAccApiKeyEphemeralResource_WithDescriptionIdentity_Replace (0.00s)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

iam IAM issues, bugs and feature requests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants