You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created a Composition consisting of Bucket, BucketVersioning and BucketServerSideEncryptionConfiguration
Both Bucket and BucketServerSideEncryptionConfiguration are READY and SYNCED, while BucketVersioning is not.
When I describe BucketVersioning I get:
Status:
At Provider:
Conditions:
Last Transition Time: 2024-02-16T16:19:36Z
Message: connect failed: cannot initialize the Terraform plugin SDK async external client: cannot get terraform setup: failed to retrieve aws credentials from aws config: failed to refresh cached credentials, failed to retrieve credentials, operation error STS: AssumeRoleWithWebIdentity, https response error StatusCode: 0, RequestID: , request send failed, Post "https://sts..amazonaws.com/": dial tcp: lookup sts..amazonaws.com: no such host
Reason: ReconcileError
Status: False
Type: Synced
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning CannotConnectToProvider 38m (x4292 over 3d) managed/s3.aws.upbound.io/v1beta1, kind=bucketversioning cannot initialize the Terraform plugin SDK async external client: cannot get terraform setup: failed to retrieve aws credentials from aws config: failed to refresh cached credentials, failed to retrieve credentials, operation error STS: AssumeRoleWithWebIdentity, https response error StatusCode: 0, RequestID: , request send failed, Post "https://sts..amazonaws.com/": dial tcp: lookup sts..amazonaws.com: no such host
Warning CannotConnectToProvider 2m27s (x41 over 37m) managed/s3.aws.upbound.io/v1beta1, kind=bucketversioning cannot initialize the Terraform plugin SDK async external client: cannot get terraform setup: failed to retrieve aws credentials from aws config: failed to refresh cached credentials, failed to retrieve credentials, operation error STS: AssumeRoleWithWebIdentity, https response error StatusCode: 0, RequestID: , request send failed, Post "https://sts..amazonaws.com/": dial tcp: lookup sts..amazonaws.com: no such host
I've currently installed only two Providers:
kubectl get providers
NAME INSTALLED HEALTHY PACKAGE AGE
default True True xpkg.upbound.io/upbound/provider-family-aws:v1.0.0 10d
upbound-provider-aws-s3 True True xpkg.upbound.io/upbound/provider-aws-s3:v1.0.0 17d
I'm using IRSA, but it's only configured with default (provider-family-aws) Provider (in accordance with documentation), so I do not uderstand why upbound-provider-aws-s3 is trying to fetch the credentials.
Moreover when I create Bucket and BucketVersioning directly - not using Composition everything works as expected.
This is the wrong provider. It does not use Terraform but the AWS SDK underneath. The API Group of this provider is aws.crossplane.io. Yours is aws.upbound.io.
What happened?
I've created a
Composition
consisting ofBucket
,BucketVersioning
andBucketServerSideEncryptionConfiguration
Both
Bucket
andBucketServerSideEncryptionConfiguration
areREADY
andSYNCED
, whileBucketVersioning
is not.When I describe
BucketVersioning
I get:I've currently installed only two
Providers
:I'm using IRSA, but it's only configured with default (provider-family-aws)
Provider
(in accordance with documentation), so I do not uderstand whyupbound-provider-aws-s3
is trying to fetch the credentials.Moreover when I create
Bucket
andBucketVersioning
directly - not usingComposition
everything works as expected.How can we reproduce it?
Apply a
Composition
:+
XRD
+
Claim
What environment did it happen in?
Crossplane version:
v1.14.5
AWS
kubectl version
)v1.23.17
kops
The text was updated successfully, but these errors were encountered: