Closed oblogic7 closed 11 months ago
Hi @oblogic7 I am using tgw created with crossplane upbound provider 0.38 and attach VPCs from other accounts to it. That is what I have and what I use:
With that configuration my TransitGatewayVpcAttachment works without accepter part. I think that is because I use "autoAcceptSharedAttachments: enable " in my tgw creation... I am not sure but that works for me.
Your configuration works because autoAcceptSharedAttachments
is enabled. I'm attempting to attach to a TGW instance that does not auto accept attachments. This is what the acceptor is designed to do, it just isn't working as it should.
CloudTrail does not show that any API calls are being received from Crossplane for the AcceptTransitGatewayVpcAttachment
action. I'm also not able to find where this call is being made in the provider source code.
I'm thinking that something is missing in the provider, but I'm not sure where to check.
I have same behaviour with upbound provider xpkg.upbound.io/upbound/provider-aws-ec2:v0.44.0
Test claims
apiVersion: ec2.aws.upbound.io/v1beta1
kind: VPC
metadata:
name: test-vpc-ali-123
labels:
vpc: test-vpc-ali-123
spec:
forProvider:
region: eu-central-1
cidrBlock: 172.16.0.0/16
tags:
Name: test-vpc-ali-123
providerConfigRef:
name: account-a
---
apiVersion: ec2.aws.upbound.io/v1beta1
kind: Subnet
metadata:
name: test-vpc-ali-123-az1
labels:
vpc: test-vpc-ali-123
spec:
forProvider:
region: eu-central-1
availabilityZone: eu-central-1a
cidrBlock: "172.16.1.0/24"
vpcIdSelector:
matchLabels:
vpc: test-vpc-ali-123
tags:
Name: test-vpc-ali-123-az1
providerConfigRef:
name: account-a
---
apiVersion: ec2.aws.upbound.io/v1beta1
kind: Subnet
metadata:
name: test-vpc-ali-123-az2
labels:
vpc: test-vpc-ali-123
spec:
forProvider:
region: eu-central-1
availabilityZone: eu-central-1b
cidrBlock: "172.16.2.0/24"
vpcIdSelector:
matchLabels:
vpc: test-vpc-ali-123
tags:
Name: test-vpc-ali-123-az2
providerConfigRef:
name: account-a
---
apiVersion: ec2.aws.upbound.io/v1beta1
kind: TransitGatewayVPCAttachment
metadata:
name: test-vpc-ali-123-tgw-attachment
labels:
vpc: test-vpc-ali-123
spec:
forProvider:
subnetIdSelector:
matchLabels:
vpc: test-vpc-ali-123
region: eu-central-1
tags:
Name: test-vpc-ali-123-tgw-attachment
transitGatewayId: tgw-00c62d3c709d44130
vpcIdSelector:
matchLabels:
vpc: test-vpc-ali-123
initProvider:
transitGatewayDefaultRouteTableAssociation: true
transitGatewayDefaultRouteTablePropagation: true
providerConfigRef:
name: account-a
---
apiVersion: ec2.aws.upbound.io/v1beta1
kind: TransitGatewayVPCAttachmentAccepter
metadata:
name: test-vpc-ali-123-tgw-attachment
labels:
vpc: test-vpc-ali-123
spec:
forProvider:
transitGatewayAttachmentIdSelector:
matchLabels:
vpc: test-vpc-ali-123
region: eu-central-1
initProvider:
transitGatewayDefaultRouteTableAssociation: true
transitGatewayDefaultRouteTablePropagation: true
providerConfigRef:
name: account-b
---
apiVersion: aws.upbound.io/v1beta1
kind: ProviderConfig
metadata:
name: account-a
spec:
assumeRoleChain:
- roleARN: "arn:aws:iam::XXXX014:role/XXXX"
credentials:
source: Secret
secretRef:
namespace: upbound-system
name: aws-secret
key: creds
---
apiVersion: aws.upbound.io/v1beta1
kind: ProviderConfig
metadata:
name: account-b
spec:
assumeRoleChain:
- roleARN: "arn:aws:iam::XXXX769:role/XXXX"
credentials:
source: Secret
secretRef:
namespace: upbound-system
name: aws-secret
key: creds
Status on crossplane
k get managed
NAME READY SYNCED EXTERNAL-NAME AGE
subnet.ec2.aws.upbound.io/test-vpc-ali-123-az1 True True subnet-0a3352a661d121e6f 118s
subnet.ec2.aws.upbound.io/test-vpc-ali-123-az2 True True subnet-08bcb1d542c32fc57 118s
NAME READY SYNCED EXTERNAL-NAME AGE
transitgatewayvpcattachmentaccepter.ec2.aws.upbound.io/test-vpc-ali-123-tgw-attachment True True tgw-attach-058af81adededbeb3 118s
NAME READY SYNCED EXTERNAL-NAME AGE
transitgatewayvpcattachment.ec2.aws.upbound.io/test-vpc-ali-123-tgw-attachment True True tgw-attach-058af81adededbeb3 118s
NAME READY SYNCED EXTERNAL-NAME AGE
vpc.ec2.aws.upbound.io/test-vpc-ali-123 True True vpc-0a20c269ccf74af22 118s
k describe transitgatewayvpcattachmentaccepter.ec2.aws.upbound.io/test-vpc-ali-123-tgw-attachment
Name: test-vpc-ali-123-tgw-attachment
Namespace:
Labels: vpc=test-vpc-ali-123
Annotations: crossplane.io/external-name: tgw-attach-058af81adededbeb3
API Version: ec2.aws.upbound.io/v1beta1
Kind: TransitGatewayVPCAttachmentAccepter
Metadata:
Creation Timestamp: 2023-11-23T16:31:56Z
Finalizers:
finalizer.managedresource.crossplane.io
Generation: 3
Managed Fields:
API Version: ec2.aws.upbound.io/v1beta1
Fields Type: FieldsV1
fieldsV1:
...
Manager: kubectl-client-side-apply
Operation: Update
Time: 2023-11-23T16:31:56Z
API Version: ec2.aws.upbound.io/v1beta1
Fields Type: FieldsV1
fieldsV1:
...
Manager: provider
Operation: Update
Time: 2023-11-23T16:32:59Z
API Version: ec2.aws.upbound.io/v1beta1
Fields Type: FieldsV1
fieldsV1:
....
Manager: provider
Operation: Update
Subresource: status
Time: 2023-11-23T16:33:02Z
Resource Version: 2082786
UID: fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9
Spec:
Deletion Policy: Delete
For Provider:
Region: eu-central-1
Tags:
Crossplane - Kind: transitgatewayvpcattachmentaccepter.ec2.aws.upbound.io
Crossplane - Name: test-vpc-ali-123-tgw-attachment
Crossplane - Providerconfig: account-b
Transit Gateway Attachment Id: tgw-attach-058af81adededbeb3
Transit Gateway Attachment Id Ref:
Name: test-vpc-ali-123-tgw-attachment
Transit Gateway Attachment Id Selector:
Match Labels:
Vpc: test-vpc-ali-123
Init Provider:
Transit Gateway Default Route Table Association: true
Transit Gateway Default Route Table Propagation: true
Management Policies:
*
Provider Config Ref:
Name: account-b
Status:
At Provider:
Appliance Mode Support: disable
Dns Support: enable
Id: tgw-attach-058af81adededbeb3
ipv6Support: disable
Subnet Ids:
subnet-08bcb1d542c32fc57
subnet-0a3352a661d121e6f
Tags:
Crossplane - Kind: transitgatewayvpcattachmentaccepter.ec2.aws.upbound.io
Crossplane - Name: test-vpc-ali-123-tgw-attachment
Crossplane - Providerconfig: account-b
Tags All:
Crossplane - Kind: transitgatewayvpcattachmentaccepter.ec2.aws.upbound.io
Crossplane - Name: test-vpc-ali-123-tgw-attachment
Crossplane - Providerconfig: account-b
Transit Gateway Attachment Id: tgw-attach-058af81adededbeb3
Transit Gateway Default Route Table Association: false
Transit Gateway Default Route Table Propagation: false
Transit Gateway Id: tgw-00c62d3c709d44130
Vpc Id: vpc-0a20c269ccf74af22
Vpc Owner Id: XXXX014
Conditions:
Last Transition Time: 2023-11-23T16:32:59Z
Reason: ReconcileSuccess
Status: True
Type: Synced
Last Transition Time: 2023-11-23T16:33:00Z
Reason: Success
Status: True
Type: LastAsyncOperation
Last Transition Time: 2023-11-23T16:33:02Z
Reason: Available
Status: True
Type: Ready
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning CannotResolveResourceReferences 5m38s (x5 over 6m8s) managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter cannot resolve references: mg.Spec.ForProvider.TransitGatewayAttachmentID: referenced field was empty (referenced resource may not yet be ready)
Normal UpdatedExternalResource 5m5s managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter Successfully requested update of external resource
Status on AWS
## FROM ACCOUNT A
aws ec2 describe-transit-gateway-attachments --transit-gateway-attachment-ids tgw-attach-058af81adededbeb3
{
"TransitGatewayAttachments": [
{
"TransitGatewayAttachmentId": "tgw-attach-058af81adededbeb3",
"TransitGatewayId": "tgw-00c62d3c709d44130",
"TransitGatewayOwnerId": "XXXX769",
"ResourceOwnerId": "XXXX014",
"ResourceType": "vpc",
"ResourceId": "vpc-0a20c269ccf74af22",
"State": "pendingAcceptance",
"CreationTime": "2023-11-23T16:32:28+00:00",
"Tags": [
{
"Key": "crossplane-providerconfig",
"Value": "account-a"
},
{
"Key": "crossplane-kind",
"Value": "transitgatewayvpcattachment.ec2.aws.upbound.io"
},
{
"Key": "crossplane-name",
"Value": "test-vpc-ali-123-tgw-attachment"
},
{
"Key": "Name",
"Value": "test-vpc-ali-123-tgw-attachment"
}
]
}
]
}
## FROM ACCOUNT B
aws ec2 describe-transit-gateway-attachments --transit-gateway-attachment-ids tgw-attach-058af81adededbeb3
{
"TransitGatewayAttachments": [
{
"TransitGatewayAttachmentId": "tgw-attach-058af81adededbeb3",
"TransitGatewayId": "tgw-00c62d3c709d44130",
"TransitGatewayOwnerId": "XXX769",
"ResourceOwnerId": "XXX014",
"ResourceType": "vpc",
"ResourceId": "vpc-0a20c269ccf74af22",
"State": "pendingAcceptance",
"CreationTime": "2023-11-23T16:32:28+00:00",
"Tags": [
{
"Key": "crossplane-providerconfig",
"Value": "account-b"
},
{
"Key": "crossplane-kind",
"Value": "transitgatewayvpcattachmentaccepter.ec2.aws.upbound.io"
},
{
"Key": "crossplane-name",
"Value": "test-vpc-ali-123-tgw-attachment"
}
]
}
]
}
Debug logs from crossplane
...
2023-11-23T16:31:56Z DEBUG provider-aws Calling the inner handler for Create event. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachmentAccepter", "name": "test-vpc-ali-123-tgw-attachment", "queueLength": 0}
2023-11-23T16:31:56Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:31:56Z DEBUG provider-aws Cannot connect to provider {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=vpc", "request": {"name":"test-vpc-ali-123"}, "uid": "9cdad77d-bb49-4775-90ce-516039f4b73e", "version": "2082580", "external-name": "", "error": "cannot initialize the no-fork async external client: cannot get terraform setup: cannot get referenced Provider: account-a: ProviderConfig.aws.upbound.io \"account-a\" not found", "errorVerbose": "ProviderConfig.aws.upbound.io \"account-a\" not found\ncannot get referenced Provider: account-a\ngithub.com/upbound/provider-aws/internal/clients.SelectTerraformSetup.func1\n\tgithub.com/upbound/provider-aws/internal/clients/aws.go:66\ngithub.com/crossplane/upjet/pkg/controller.(*NoForkConnector).Connect\n\tgithub.com/crossplane/upjet@v1.0.0/pkg/controller/external_nofork.go:235\ngithub.com/crossplane/upjet/pkg/controller.(*NoForkAsyncConnector).Connect\n\tgithub.com/crossplane/upjet@v1.0.0/pkg/controller/external_async_nofork.go:47\ngithub.com/crossplane/crossplane-runtime/pkg/reconciler/managed.(*NopDisconnecter).Connect\n\tgithub.com/crossplane/crossplane-runtime@v1.14.1/pkg/reconciler/managed/reconciler.go:246\ngithub.com/crossplane/crossplane-runtime/pkg/reconciler/managed.(*Reconciler).Reconcile\n\tgithub.com/crossplane/crossplane-runtime@v1.14.1/pkg/reconciler/managed/reconciler.go:881\ngithub.com/crossplane/crossplane-runtime/pkg/ratelimiter.(*Reconciler).Reconcile\n\tgithub.com/crossplane/crossplane-runtime@v1.14.1/pkg/ratelimiter/reconciler.go:54\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:119\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:316\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227\nruntime.goexit\n\truntime/asm_arm64.s:1172\ncannot get terraform setup\ngithub.com/crossplane/upjet/pkg/controller.(*NoForkConnector).Connect\n\tgithub.com/crossplane/upjet@v1.0.0/pkg/controller/external_nofork.go:238\ngithub.com/crossplane/upjet/pkg/controller.(*NoForkAsyncConnector).Connect\n\tgithub.com/crossplane/upjet@v1.0.0/pkg/controller/external_async_nofork.go:47\ngithub.com/crossplane/crossplane-runtime/pkg/reconciler/managed.(*NopDisconnecter).Connect\n\tgithub.com/crossplane/crossplane-runtime@v1.14.1/pkg/reconciler/managed/reconciler.go:246\ngithub.com/crossplane/crossplane-runtime/pkg/reconciler/managed.(*Reconciler).Reconcile\n\tgithub.com/crossplane/crossplane-runtime@v1.14.1/pkg/reconciler/managed/reconciler.go:881\ngithub.com/crossplane/crossplane-runtime/pkg/ratelimiter.(*Reconciler).Reconcile\n\tgithub.com/crossplane/crossplane-runtime@v1.14.1/pkg/ratelimiter/reconciler.go:54\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:119\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:316\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227\nruntime.goexit\n\truntime/asm_arm64.s:1172\ncannot initialize the no-fork async external client\ngithub.com/crossplane/upjet/pkg/controller.(*NoForkAsyncConnector).Connect\n\tgithub.com/crossplane/upjet@v1.0.0/pkg/controller/external_async_nofork.go:49\ngithub.com/crossplane/crossplane-runtime/pkg/reconciler/managed.(*NopDisconnecter).Connect\n\tgithub.com/crossplane/crossplane-runtime@v1.14.1/pkg/reconciler/managed/reconciler.go:246\ngithub.com/crossplane/crossplane-runtime/pkg/reconciler/managed.(*Reconciler).Reconcile\n\tgithub.com/crossplane/crossplane-runtime@v1.14.1/pkg/reconciler/managed/reconciler.go:881\ngithub.com/crossplane/crossplane-runtime/pkg/ratelimiter.(*Reconciler).Reconcile\n\tgithub.com/crossplane/crossplane-runtime@v1.14.1/pkg/ratelimiter/reconciler.go:54\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:119\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:316\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227\nruntime.goexit\n\truntime/asm_arm64.s:1172"}
2023-11-23T16:31:56Z DEBUG provider-aws Calling the inner handler for Update event. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment", "name": "test-vpc-ali-123-tgw-attachment", "queueLength": 0}
2023-11-23T16:31:56Z DEBUG provider-aws Cannot resolve managed resource references {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "version": "2082584", "external-name": "", "error": "cannot resolve references: mg.Spec.ForProvider.SubnetIds: referenced field was empty (referenced resource may not yet be ready)"}
2023-11-23T16:31:56Z DEBUG events cannot resolve references: mg.Spec.ForProvider.SubnetIds: referenced field was empty (referenced resource may not yet be ready) {"type": "Warning", "object": {"kind":"TransitGatewayVPCAttachment","name":"test-vpc-ali-123-tgw-attachment","uid":"dc84892c-93a9-48ae-94a6-0bcc8a051341","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082588"}, "reason": "CannotResolveResourceReferences"}
2023-11-23T16:31:56Z DEBUG events cannot initialize the no-fork async external client: cannot get terraform setup: cannot get referenced Provider: account-a: ProviderConfig.aws.upbound.io "account-a" not found {"type": "Warning", "object": {"kind":"VPC","name":"test-vpc-ali-123","uid":"9cdad77d-bb49-4775-90ce-516039f4b73e","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082580"}, "reason": "CannotConnectToProvider"}
2023-11-23T16:31:56Z DEBUG provider-aws Cannot resolve managed resource references {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az2"}, "uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "version": "2082586", "external-name": "", "error": "cannot resolve references: mg.Spec.ForProvider.VPCID: referenced field was empty (referenced resource may not yet be ready)"}
2023-11-23T16:31:56Z DEBUG events cannot resolve references: mg.Spec.ForProvider.VPCID: referenced field was empty (referenced resource may not yet be ready) {"type": "Warning", "object": {"kind":"Subnet","name":"test-vpc-ali-123-az2","uid":"7c569edc-53e8-4ad0-91c0-52cbc360ef90","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082586"}, "reason": "CannotResolveResourceReferences"}
2023-11-23T16:31:56Z DEBUG provider-aws Calling the inner handler for Update event. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachmentAccepter", "name": "test-vpc-ali-123-tgw-attachment", "queueLength": 0}
2023-11-23T16:31:56Z DEBUG provider-aws Cannot resolve managed resource references {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "version": "2082587", "external-name": "", "error": "cannot resolve references: mg.Spec.ForProvider.TransitGatewayAttachmentID: referenced field was empty (referenced resource may not yet be ready)"}
2023-11-23T16:31:56Z DEBUG events cannot resolve references: mg.Spec.ForProvider.TransitGatewayAttachmentID: referenced field was empty (referenced resource may not yet be ready) {"type": "Warning", "object": {"kind":"TransitGatewayVPCAttachmentAccepter","name":"test-vpc-ali-123-tgw-attachment","uid":"fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082593"}, "reason": "CannotResolveResourceReferences"}
2023-11-23T16:31:56Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:31:56Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:31:56Z DEBUG provider-aws Cannot resolve managed resource references {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "version": "2082592", "external-name": "", "error": "cannot resolve references: mg.Spec.ForProvider.SubnetIds: referenced field was empty (referenced resource may not yet be ready)"}
2023-11-23T16:31:56Z DEBUG events cannot resolve references: mg.Spec.ForProvider.SubnetIds: referenced field was empty (referenced resource may not yet be ready) {"type": "Warning", "object": {"kind":"TransitGatewayVPCAttachment","name":"test-vpc-ali-123-tgw-attachment","uid":"dc84892c-93a9-48ae-94a6-0bcc8a051341","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082592"}, "reason": "CannotResolveResourceReferences"}
2023-11-23T16:31:56Z DEBUG provider-aws Cannot initialize managed resource {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "version": "2082593", "external-name": "", "error": "Operation cannot be fulfilled on transitgatewayvpcattachmentaccepters.ec2.aws.upbound.io \"test-vpc-ali-123-tgw-attachment\": the object has been modified; please apply your changes to the latest version and try again"}
2023-11-23T16:31:57Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az1"}}
2023-11-23T16:31:57Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=vpc", "request": {"name":"test-vpc-ali-123"}}
2023-11-23T16:31:57Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az2"}}
2023-11-23T16:31:57Z DEBUG provider-aws Cannot resolve managed resource references {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az1"}, "uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "version": "2082581", "external-name": "", "error": "cannot resolve references: mg.Spec.ForProvider.VPCID: referenced field was empty (referenced resource may not yet be ready)"}
2023-11-23T16:31:57Z DEBUG provider-aws Connecting to the service provider {"uid": "9cdad77d-bb49-4775-90ce-516039f4b73e", "name": "test-vpc-ali-123", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=VPC"}
2023-11-23T16:31:57Z DEBUG events cannot resolve references: mg.Spec.ForProvider.VPCID: referenced field was empty (referenced resource may not yet be ready) {"type": "Warning", "object": {"kind":"Subnet","name":"test-vpc-ali-123-az1","uid":"c48ab70c-adfd-45d5-83ab-59e02838f707","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082581"}, "reason": "CannotResolveResourceReferences"}
2023-11-23T16:31:57Z DEBUG provider-aws Cannot resolve managed resource references {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az2"}, "uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "version": "2082586", "external-name": "", "error": "cannot resolve references: mg.Spec.ForProvider.VPCID: referenced field was empty (referenced resource may not yet be ready)"}
2023-11-23T16:31:57Z DEBUG events cannot resolve references: mg.Spec.ForProvider.VPCID: referenced field was empty (referenced resource may not yet be ready) {"type": "Warning", "object": {"kind":"Subnet","name":"test-vpc-ali-123-az2","uid":"7c569edc-53e8-4ad0-91c0-52cbc360ef90","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082586"}, "reason": "CannotResolveResourceReferences"}
2023-11-23T16:31:57Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:31:57Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:31:57Z DEBUG provider-aws Cannot resolve managed resource references {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "version": "2082592", "external-name": "", "error": "cannot resolve references: mg.Spec.ForProvider.SubnetIds: referenced field was empty (referenced resource may not yet be ready)"}
2023-11-23T16:31:57Z DEBUG events cannot resolve references: mg.Spec.ForProvider.SubnetIds: referenced field was empty (referenced resource may not yet be ready) {"type": "Warning", "object": {"kind":"TransitGatewayVPCAttachment","name":"test-vpc-ali-123-tgw-attachment","uid":"dc84892c-93a9-48ae-94a6-0bcc8a051341","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082592"}, "reason": "CannotResolveResourceReferences"}
2023-11-23T16:31:57Z DEBUG provider-aws Cannot resolve managed resource references {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "version": "2082597", "external-name": "", "error": "cannot resolve references: mg.Spec.ForProvider.TransitGatewayAttachmentID: referenced field was empty (referenced resource may not yet be ready)"}
2023-11-23T16:31:58Z DEBUG events cannot resolve references: mg.Spec.ForProvider.TransitGatewayAttachmentID: referenced field was empty (referenced resource may not yet be ready) {"type": "Warning", "object": {"kind":"TransitGatewayVPCAttachmentAccepter","name":"test-vpc-ali-123-tgw-attachment","uid":"fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082597"}, "reason": "CannotResolveResourceReferences"}
2023-11-23T16:31:59Z DEBUG provider-aws Instance state not found in cache, reconstructing... {"uid": "9cdad77d-bb49-4775-90ce-516039f4b73e", "name": "test-vpc-ali-123", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=VPC"}
2023-11-23T16:31:59Z DEBUG provider-aws Observing the external resource {"uid": "9cdad77d-bb49-4775-90ce-516039f4b73e", "name": "test-vpc-ali-123", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=VPC"}
2023-11-23T16:31:59Z DEBUG provider-aws Diff detected {"uid": "9cdad77d-bb49-4775-90ce-516039f4b73e", "name": "test-vpc-ali-123", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=VPC", "instanceDiff": "*terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{\"arn\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"cidr_block\":*terraform.ResourceAttrDiff{Old:\"\", New:\"172.16.0.0/16\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, \"default_network_acl_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"default_route_table_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"default_security_group_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"dhcp_options_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"enable_classiclink\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"enable_classiclink_dns_support\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"enable_dns_hostnames\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"enable_dns_support\":*terraform.ResourceAttrDiff{Old:\"\", New:\"true\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"enable_network_address_usage_metrics\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"instance_tenancy\":*terraform.ResourceAttrDiff{Old:\"\", New:\"default\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"ipv6_association_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"ipv6_cidr_block\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"ipv6_cidr_block_network_border_group\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"main_route_table_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"owner_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.%\":*terraform.ResourceAttrDiff{Old:\"0\", New:\"4\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.Name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.crossplane-kind\":*terraform.ResourceAttrDiff{Old:\"\", New:\"vpc.ec2.aws.upbound.io\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.crossplane-name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.crossplane-providerconfig\":*terraform.ResourceAttrDiff{Old:\"\", New:\"account-a\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.%\":*terraform.ResourceAttrDiff{Old:\"0\", New:\"4\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.Name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.crossplane-kind\":*terraform.ResourceAttrDiff{Old:\"\", New:\"vpc.ec2.aws.upbound.io\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.crossplane-name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.crossplane-providerconfig\":*terraform.ResourceAttrDiff{Old:\"\", New:\"account-a\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, RawConfig:cty.NilVal, RawState:cty.NilVal, RawPlan:cty.NilVal, Meta:map[string]interface {}(nil)}"}
2023-11-23T16:31:59Z DEBUG provider-aws Async create starting... {"trackerUID": "9cdad77d-bb49-4775-90ce-516039f4b73e", "resourceName": "test-vpc-ali-123", "tfID": ""}
2023-11-23T16:31:59Z DEBUG provider-aws Creating the external resource {"uid": "9cdad77d-bb49-4775-90ce-516039f4b73e", "name": "test-vpc-ali-123", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=VPC"}
2023/11/23 16:31:59 [DEBUG] Waiting for state to become: [success]
2023-11-23T16:31:59Z DEBUG provider-aws Calling the inner handler for Update event. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=VPC", "name": "test-vpc-ali-123", "queueLength": 0}
2023-11-23T16:31:59Z DEBUG provider-aws Successfully requested creation of external resource {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=vpc", "request": {"name":"test-vpc-ali-123"}, "uid": "9cdad77d-bb49-4775-90ce-516039f4b73e", "version": "2082580", "external-name": "", "external-name": ""}
2023-11-23T16:31:59Z DEBUG events Successfully requested creation of external resource {"type": "Normal", "object": {"kind":"VPC","name":"test-vpc-ali-123","uid":"9cdad77d-bb49-4775-90ce-516039f4b73e","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082616"}, "reason": "CreatedExternalResource"}
2023-11-23T16:31:59Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=vpc", "request": {"name":"test-vpc-ali-123"}}
2023-11-23T16:31:59Z DEBUG provider-aws Cannot initialize managed resource {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=vpc", "request": {"name":"test-vpc-ali-123"}, "uid": "9cdad77d-bb49-4775-90ce-516039f4b73e", "version": "2082616", "external-name": "", "error": "Operation cannot be fulfilled on vpcs.ec2.aws.upbound.io \"test-vpc-ali-123\": the object has been modified; please apply your changes to the latest version and try again"}
2023/11/23 16:31:59 [DEBUG] Waiting for state to become: [available]
2023/11/23 16:31:59 [DEBUG] Waiting for state to become: [success]
2023-11-23T16:32:00Z DEBUG provider-aws Async create ended. {"trackerUID": "9cdad77d-bb49-4775-90ce-516039f4b73e", "resourceName": "test-vpc-ali-123", "error": null, "tfID": "vpc-0a20c269ccf74af22"}
2023-11-23T16:32:00Z DEBUG provider-aws Reconcile request has been requeued. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=VPC", "name": "test-vpc-ali-123", "rateLimiterName": "", "when": "0s"}
2023-11-23T16:32:00Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=vpc", "request": {"name":"test-vpc-ali-123"}}
2023-11-23T16:32:00Z DEBUG provider-aws Connecting to the service provider {"uid": "9cdad77d-bb49-4775-90ce-516039f4b73e", "name": "test-vpc-ali-123", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=VPC"}
2023-11-23T16:32:01Z DEBUG provider-aws Observing the external resource {"uid": "9cdad77d-bb49-4775-90ce-516039f4b73e", "name": "test-vpc-ali-123", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=VPC"}
2023/11/23 16:32:01 [DEBUG] Waiting for state to become: [success]
2023-11-23T16:32:01Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az1"}}
2023-11-23T16:32:01Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az2"}}
2023-11-23T16:32:01Z DEBUG provider-aws Cannot resolve managed resource references {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az2"}, "uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "version": "2082586", "external-name": "", "error": "cannot resolve references: mg.Spec.ForProvider.VPCID: referenced field was empty (referenced resource may not yet be ready)"}
2023-11-23T16:32:01Z DEBUG provider-aws Cannot resolve managed resource references {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az1"}, "uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "version": "2082581", "external-name": "", "error": "cannot resolve references: mg.Spec.ForProvider.VPCID: referenced field was empty (referenced resource may not yet be ready)"}
2023-11-23T16:32:01Z DEBUG events cannot resolve references: mg.Spec.ForProvider.VPCID: referenced field was empty (referenced resource may not yet be ready) {"type": "Warning", "object": {"kind":"Subnet","name":"test-vpc-ali-123-az2","uid":"7c569edc-53e8-4ad0-91c0-52cbc360ef90","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082586"}, "reason": "CannotResolveResourceReferences"}
2023-11-23T16:32:01Z DEBUG events cannot resolve references: mg.Spec.ForProvider.VPCID: referenced field was empty (referenced resource may not yet be ready) {"type": "Warning", "object": {"kind":"Subnet","name":"test-vpc-ali-123-az1","uid":"c48ab70c-adfd-45d5-83ab-59e02838f707","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082581"}, "reason": "CannotResolveResourceReferences"}
2023-11-23T16:32:02Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:32:02Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:32:02Z DEBUG provider-aws Cannot resolve managed resource references {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "version": "2082592", "external-name": "", "error": "cannot resolve references: mg.Spec.ForProvider.SubnetIds: referenced field was empty (referenced resource may not yet be ready)"}
2023-11-23T16:32:02Z DEBUG events cannot resolve references: mg.Spec.ForProvider.SubnetIds: referenced field was empty (referenced resource may not yet be ready) {"type": "Warning", "object": {"kind":"TransitGatewayVPCAttachment","name":"test-vpc-ali-123-tgw-attachment","uid":"dc84892c-93a9-48ae-94a6-0bcc8a051341","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082592"}, "reason": "CannotResolveResourceReferences"}
2023-11-23T16:32:02Z DEBUG provider-aws Cannot resolve managed resource references {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "version": "2082597", "external-name": "", "error": "cannot resolve references: mg.Spec.ForProvider.TransitGatewayAttachmentID: referenced field was empty (referenced resource may not yet be ready)"}
2023-11-23T16:32:02Z DEBUG events cannot resolve references: mg.Spec.ForProvider.TransitGatewayAttachmentID: referenced field was empty (referenced resource may not yet be ready) {"type": "Warning", "object": {"kind":"TransitGatewayVPCAttachmentAccepter","name":"test-vpc-ali-123-tgw-attachment","uid":"fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082597"}, "reason": "CannotResolveResourceReferences"}
2023-11-23T16:32:03Z DEBUG provider-aws Calling the inner handler for Update event. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=VPC", "name": "test-vpc-ali-123", "queueLength": 0}
2023-11-23T16:32:03Z DEBUG provider-aws External resource is up to date {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=vpc", "request": {"name":"test-vpc-ali-123"}, "uid": "9cdad77d-bb49-4775-90ce-516039f4b73e", "version": "2082623", "external-name": "", "requeue-after": "2023-11-23T16:42:16Z"}
2023-11-23T16:32:03Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=vpc", "request": {"name":"test-vpc-ali-123"}}
2023-11-23T16:32:03Z DEBUG provider-aws Connecting to the service provider {"uid": "9cdad77d-bb49-4775-90ce-516039f4b73e", "name": "test-vpc-ali-123", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=VPC"}
2023-11-23T16:32:04Z DEBUG provider-aws Observing the external resource {"uid": "9cdad77d-bb49-4775-90ce-516039f4b73e", "name": "test-vpc-ali-123", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=VPC"}
2023/11/23 16:32:04 [DEBUG] Waiting for state to become: [success]
2023-11-23T16:32:05Z DEBUG provider-aws External resource is up to date {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=vpc", "request": {"name":"test-vpc-ali-123"}, "uid": "9cdad77d-bb49-4775-90ce-516039f4b73e", "version": "2082631", "external-name": "vpc-0a20c269ccf74af22", "requeue-after": "2023-11-23T16:42:23Z"}
2023-11-23T16:32:09Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az1"}}
2023-11-23T16:32:09Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az2"}}
2023-11-23T16:32:09Z DEBUG provider-aws Connecting to the service provider {"uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "name": "test-vpc-ali-123-az2", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023-11-23T16:32:09Z DEBUG provider-aws Calling the inner handler for Update event. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet", "name": "test-vpc-ali-123-az2", "queueLength": 0}
2023-11-23T16:32:09Z DEBUG provider-aws Calling the inner handler for Update event. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet", "name": "test-vpc-ali-123-az1", "queueLength": 0}
2023-11-23T16:32:09Z DEBUG provider-aws Connecting to the service provider {"uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "name": "test-vpc-ali-123-az1", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023-11-23T16:32:10Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:32:10Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:32:10Z DEBUG provider-aws Cannot resolve managed resource references {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "version": "2082597", "external-name": "", "error": "cannot resolve references: mg.Spec.ForProvider.TransitGatewayAttachmentID: referenced field was empty (referenced resource may not yet be ready)"}
2023-11-23T16:32:10Z DEBUG provider-aws Cannot resolve managed resource references {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "version": "2082592", "external-name": "", "error": "cannot resolve references: mg.Spec.ForProvider.SubnetIds: referenced field was empty (referenced resource may not yet be ready)"}
2023-11-23T16:32:10Z DEBUG events cannot resolve references: mg.Spec.ForProvider.TransitGatewayAttachmentID: referenced field was empty (referenced resource may not yet be ready) {"type": "Warning", "object": {"kind":"TransitGatewayVPCAttachmentAccepter","name":"test-vpc-ali-123-tgw-attachment","uid":"fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082597"}, "reason": "CannotResolveResourceReferences"}
2023-11-23T16:32:10Z DEBUG events cannot resolve references: mg.Spec.ForProvider.SubnetIds: referenced field was empty (referenced resource may not yet be ready) {"type": "Warning", "object": {"kind":"TransitGatewayVPCAttachment","name":"test-vpc-ali-123-tgw-attachment","uid":"dc84892c-93a9-48ae-94a6-0bcc8a051341","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082592"}, "reason": "CannotResolveResourceReferences"}
2023-11-23T16:32:10Z DEBUG provider-aws Instance state not found in cache, reconstructing... {"uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "name": "test-vpc-ali-123-az2", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023-11-23T16:32:10Z DEBUG provider-aws Observing the external resource {"uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "name": "test-vpc-ali-123-az2", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023-11-23T16:32:10Z DEBUG provider-aws Diff detected {"uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "name": "test-vpc-ali-123-az2", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet", "instanceDiff": "*terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{\"arn\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"assign_ipv6_address_on_creation\":*terraform.ResourceAttrDiff{Old:\"\", New:\"false\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"availability_zone\":*terraform.ResourceAttrDiff{Old:\"\", New:\"eu-central-1b\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, \"availability_zone_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, \"cidr_block\":*terraform.ResourceAttrDiff{Old:\"\", New:\"172.16.2.0/24\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, \"enable_dns64\":*terraform.ResourceAttrDiff{Old:\"\", New:\"false\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"enable_resource_name_dns_a_record_on_launch\":*terraform.ResourceAttrDiff{Old:\"\", New:\"false\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"enable_resource_name_dns_aaaa_record_on_launch\":*terraform.ResourceAttrDiff{Old:\"\", New:\"false\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"ipv6_cidr_block_association_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"ipv6_native\":*terraform.ResourceAttrDiff{Old:\"\", New:\"false\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, \"map_public_ip_on_launch\":*terraform.ResourceAttrDiff{Old:\"\", New:\"false\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"owner_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"private_dns_hostname_type_on_launch\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.%\":*terraform.ResourceAttrDiff{Old:\"0\", New:\"4\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.Name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123-az2\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.crossplane-kind\":*terraform.ResourceAttrDiff{Old:\"\", New:\"subnet.ec2.aws.upbound.io\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.crossplane-name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123-az2\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.crossplane-providerconfig\":*terraform.ResourceAttrDiff{Old:\"\", New:\"account-a\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.%\":*terraform.ResourceAttrDiff{Old:\"0\", New:\"4\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.Name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123-az2\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.crossplane-kind\":*terraform.ResourceAttrDiff{Old:\"\", New:\"subnet.ec2.aws.upbound.io\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.crossplane-name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123-az2\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.crossplane-providerconfig\":*terraform.ResourceAttrDiff{Old:\"\", New:\"account-a\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"vpc_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"vpc-0a20c269ccf74af22\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, RawConfig:cty.NilVal, RawState:cty.NilVal, RawPlan:cty.NilVal, Meta:map[string]interface {}(nil)}"}
2023-11-23T16:32:10Z DEBUG provider-aws Instance state not found in cache, reconstructing... {"uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "name": "test-vpc-ali-123-az1", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023-11-23T16:32:10Z DEBUG provider-aws Observing the external resource {"uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "name": "test-vpc-ali-123-az1", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023-11-23T16:32:10Z DEBUG provider-aws Diff detected {"uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "name": "test-vpc-ali-123-az1", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet", "instanceDiff": "*terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{\"arn\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"assign_ipv6_address_on_creation\":*terraform.ResourceAttrDiff{Old:\"\", New:\"false\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"availability_zone\":*terraform.ResourceAttrDiff{Old:\"\", New:\"eu-central-1a\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, \"availability_zone_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, \"cidr_block\":*terraform.ResourceAttrDiff{Old:\"\", New:\"172.16.1.0/24\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, \"enable_dns64\":*terraform.ResourceAttrDiff{Old:\"\", New:\"false\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"enable_resource_name_dns_a_record_on_launch\":*terraform.ResourceAttrDiff{Old:\"\", New:\"false\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"enable_resource_name_dns_aaaa_record_on_launch\":*terraform.ResourceAttrDiff{Old:\"\", New:\"false\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"ipv6_cidr_block_association_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"ipv6_native\":*terraform.ResourceAttrDiff{Old:\"\", New:\"false\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, \"map_public_ip_on_launch\":*terraform.ResourceAttrDiff{Old:\"\", New:\"false\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"owner_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"private_dns_hostname_type_on_launch\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.%\":*terraform.ResourceAttrDiff{Old:\"0\", New:\"4\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.Name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123-az1\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.crossplane-kind\":*terraform.ResourceAttrDiff{Old:\"\", New:\"subnet.ec2.aws.upbound.io\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.crossplane-name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123-az1\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.crossplane-providerconfig\":*terraform.ResourceAttrDiff{Old:\"\", New:\"account-a\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.%\":*terraform.ResourceAttrDiff{Old:\"0\", New:\"4\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.Name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123-az1\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.crossplane-kind\":*terraform.ResourceAttrDiff{Old:\"\", New:\"subnet.ec2.aws.upbound.io\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.crossplane-name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123-az1\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.crossplane-providerconfig\":*terraform.ResourceAttrDiff{Old:\"\", New:\"account-a\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"vpc_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"vpc-0a20c269ccf74af22\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, RawConfig:cty.NilVal, RawState:cty.NilVal, RawPlan:cty.NilVal, Meta:map[string]interface {}(nil)}"}
2023-11-23T16:32:10Z DEBUG provider-aws Async create starting... {"trackerUID": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "resourceName": "test-vpc-ali-123-az2", "tfID": ""}
2023-11-23T16:32:10Z DEBUG provider-aws Creating the external resource {"uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "name": "test-vpc-ali-123-az2", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023/11/23 16:32:10 [DEBUG] Creating EC2 Subnet: {
AvailabilityZone: "eu-central-1b",
CidrBlock: "172.16.2.0/24",
TagSpecifications: [{
ResourceType: "subnet",
Tags: [
{
Key: "crossplane-name",
Value: "test-vpc-ali-123-az2"
},
{
Key: "Name",
Value: "test-vpc-ali-123-az2"
},
{
Key: "crossplane-kind",
Value: "subnet.ec2.aws.upbound.io"
},
{
Key: "crossplane-providerconfig",
Value: "account-a"
}
]
}],
VpcId: "vpc-0a20c269ccf74af22"
}
2023-11-23T16:32:10Z DEBUG provider-aws Async create starting... {"trackerUID": "c48ab70c-adfd-45d5-83ab-59e02838f707", "resourceName": "test-vpc-ali-123-az1", "tfID": ""}
2023-11-23T16:32:10Z DEBUG provider-aws Creating the external resource {"uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "name": "test-vpc-ali-123-az1", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023/11/23 16:32:10 [DEBUG] Creating EC2 Subnet: {
AvailabilityZone: "eu-central-1a",
CidrBlock: "172.16.1.0/24",
TagSpecifications: [{
ResourceType: "subnet",
Tags: [
{
Key: "crossplane-providerconfig",
Value: "account-a"
},
{
Key: "crossplane-name",
Value: "test-vpc-ali-123-az1"
},
{
Key: "Name",
Value: "test-vpc-ali-123-az1"
},
{
Key: "crossplane-kind",
Value: "subnet.ec2.aws.upbound.io"
}
]
}],
VpcId: "vpc-0a20c269ccf74af22"
}
2023-11-23T16:32:10Z DEBUG provider-aws Successfully requested creation of external resource {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az2"}, "uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "version": "2082586", "external-name": "", "external-name": ""}
2023-11-23T16:32:10Z DEBUG events Successfully requested creation of external resource {"type": "Normal", "object": {"kind":"Subnet","name":"test-vpc-ali-123-az2","uid":"7c569edc-53e8-4ad0-91c0-52cbc360ef90","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082659"}, "reason": "CreatedExternalResource"}
2023-11-23T16:32:10Z DEBUG provider-aws Calling the inner handler for Update event. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet", "name": "test-vpc-ali-123-az2", "queueLength": 0}
2023-11-23T16:32:10Z DEBUG provider-aws Calling the inner handler for Update event. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet", "name": "test-vpc-ali-123-az1", "queueLength": 0}
2023-11-23T16:32:10Z DEBUG provider-aws Successfully requested creation of external resource {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az1"}, "uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "version": "2082581", "external-name": "", "external-name": ""}
2023-11-23T16:32:10Z DEBUG events Successfully requested creation of external resource {"type": "Normal", "object": {"kind":"Subnet","name":"test-vpc-ali-123-az1","uid":"c48ab70c-adfd-45d5-83ab-59e02838f707","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082661"}, "reason": "CreatedExternalResource"}
2023-11-23T16:32:10Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az2"}}
2023-11-23T16:32:10Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az1"}}
2023-11-23T16:32:10Z DEBUG provider-aws Connecting to the service provider {"uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "name": "test-vpc-ali-123-az2", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023-11-23T16:32:10Z DEBUG provider-aws Connecting to the service provider {"uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "name": "test-vpc-ali-123-az1", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023/11/23 16:32:11 [DEBUG] Waiting for state to become: [available]
2023/11/23 16:32:11 [DEBUG] Waiting for state to become: [available]
2023/11/23 16:32:11 [DEBUG] Waiting for state to become: [success]
2023/11/23 16:32:11 [DEBUG] Waiting for state to become: [success]
2023-11-23T16:32:11Z DEBUG provider-aws Async create ended. {"trackerUID": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "resourceName": "test-vpc-ali-123-az2", "error": null, "tfID": "subnet-08bcb1d542c32fc57"}
2023-11-23T16:32:11Z DEBUG provider-aws Reconcile request has been requeued. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet", "name": "test-vpc-ali-123-az2", "rateLimiterName": "", "when": "0s"}
2023-11-23T16:32:11Z DEBUG provider-aws Async create ended. {"trackerUID": "c48ab70c-adfd-45d5-83ab-59e02838f707", "resourceName": "test-vpc-ali-123-az1", "error": null, "tfID": "subnet-0a3352a661d121e6f"}
2023-11-23T16:32:11Z DEBUG provider-aws Reconcile request has been requeued. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet", "name": "test-vpc-ali-123-az1", "rateLimiterName": "", "when": "0s"}
2023-11-23T16:32:11Z DEBUG provider-aws Observing the external resource {"uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "name": "test-vpc-ali-123-az1", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023/11/23 16:32:11 [DEBUG] Waiting for state to become: [success]
2023-11-23T16:32:11Z DEBUG provider-aws Observing the external resource {"uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "name": "test-vpc-ali-123-az2", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023/11/23 16:32:11 [DEBUG] Waiting for state to become: [success]
2023-11-23T16:32:12Z DEBUG provider-aws cannot update managed resource {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az1"}, "uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "version": "2082664", "external-name": "", "error": "Operation cannot be fulfilled on subnets.ec2.aws.upbound.io \"test-vpc-ali-123-az1\": the object has been modified; please apply your changes to the latest version and try again"}
2023-11-23T16:32:12Z DEBUG events Operation cannot be fulfilled on subnets.ec2.aws.upbound.io "test-vpc-ali-123-az1": the object has been modified; please apply your changes to the latest version and try again {"type": "Warning", "object": {"kind":"Subnet","name":"test-vpc-ali-123-az1","uid":"c48ab70c-adfd-45d5-83ab-59e02838f707","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082664"}, "reason": "CannotUpdateManagedResource"}
2023-11-23T16:32:12Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az1"}}
2023-11-23T16:32:12Z DEBUG provider-aws cannot update managed resource {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az2"}, "uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "version": "2082662", "external-name": "", "error": "Operation cannot be fulfilled on subnets.ec2.aws.upbound.io \"test-vpc-ali-123-az2\": the object has been modified; please apply your changes to the latest version and try again"}
2023-11-23T16:32:12Z DEBUG events Operation cannot be fulfilled on subnets.ec2.aws.upbound.io "test-vpc-ali-123-az2": the object has been modified; please apply your changes to the latest version and try again {"type": "Warning", "object": {"kind":"Subnet","name":"test-vpc-ali-123-az2","uid":"7c569edc-53e8-4ad0-91c0-52cbc360ef90","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082662"}, "reason": "CannotUpdateManagedResource"}
2023-11-23T16:32:12Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az2"}}
2023-11-23T16:32:12Z DEBUG provider-aws Connecting to the service provider {"uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "name": "test-vpc-ali-123-az1", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023-11-23T16:32:12Z DEBUG provider-aws Connecting to the service provider {"uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "name": "test-vpc-ali-123-az2", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023-11-23T16:32:13Z DEBUG provider-aws Observing the external resource {"uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "name": "test-vpc-ali-123-az1", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023/11/23 16:32:13 [DEBUG] Waiting for state to become: [success]
2023-11-23T16:32:13Z DEBUG provider-aws Observing the external resource {"uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "name": "test-vpc-ali-123-az2", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023/11/23 16:32:13 [DEBUG] Waiting for state to become: [success]
2023-11-23T16:32:13Z DEBUG provider-aws External resource is up to date {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az2"}, "uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "version": "2082667", "external-name": "", "requeue-after": "2023-11-23T16:42:28Z"}
2023-11-23T16:32:13Z DEBUG provider-aws Calling the inner handler for Update event. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet", "name": "test-vpc-ali-123-az2", "queueLength": 0}
2023-11-23T16:32:13Z DEBUG provider-aws External resource is up to date {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az1"}, "uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "version": "2082668", "external-name": "", "requeue-after": "2023-11-23T16:41:59Z"}
2023-11-23T16:32:13Z DEBUG provider-aws Calling the inner handler for Update event. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet", "name": "test-vpc-ali-123-az1", "queueLength": 0}
2023-11-23T16:32:13Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az2"}}
2023-11-23T16:32:13Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az1"}}
2023-11-23T16:32:13Z DEBUG provider-aws Connecting to the service provider {"uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "name": "test-vpc-ali-123-az2", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023-11-23T16:32:13Z DEBUG provider-aws Connecting to the service provider {"uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "name": "test-vpc-ali-123-az1", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023-11-23T16:32:14Z DEBUG provider-aws Observing the external resource {"uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "name": "test-vpc-ali-123-az2", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023/11/23 16:32:14 [DEBUG] Waiting for state to become: [success]
2023-11-23T16:32:14Z DEBUG provider-aws Observing the external resource {"uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "name": "test-vpc-ali-123-az1", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023/11/23 16:32:14 [DEBUG] Waiting for state to become: [success]
2023-11-23T16:32:14Z DEBUG provider-aws External resource is up to date {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az2"}, "uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "version": "2082673", "external-name": "subnet-08bcb1d542c32fc57", "requeue-after": "2023-11-23T16:42:05Z"}
2023-11-23T16:32:14Z DEBUG provider-aws External resource is up to date {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az1"}, "uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "version": "2082674", "external-name": "subnet-0a3352a661d121e6f", "requeue-after": "2023-11-23T16:42:31Z"}
2023-11-23T16:32:26Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:32:26Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:32:26Z DEBUG provider-aws Cannot resolve managed resource references {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "version": "2082597", "external-name": "", "error": "cannot resolve references: mg.Spec.ForProvider.TransitGatewayAttachmentID: referenced field was empty (referenced resource may not yet be ready)"}
2023-11-23T16:32:26Z DEBUG events cannot resolve references: mg.Spec.ForProvider.TransitGatewayAttachmentID: referenced field was empty (referenced resource may not yet be ready) {"type": "Warning", "object": {"kind":"TransitGatewayVPCAttachmentAccepter","name":"test-vpc-ali-123-tgw-attachment","uid":"fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082597"}, "reason": "CannotResolveResourceReferences"}
2023-11-23T16:32:26Z DEBUG provider-aws Connecting to the service provider {"uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment"}
2023-11-23T16:32:26Z DEBUG provider-aws Calling the inner handler for Update event. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment", "name": "test-vpc-ali-123-tgw-attachment", "queueLength": 0}
2023-11-23T16:32:26Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az2"}}
2023-11-23T16:32:26Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az1"}}
2023-11-23T16:32:27Z DEBUG provider-aws Connecting to the service provider {"uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "name": "test-vpc-ali-123-az1", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023-11-23T16:32:27Z DEBUG provider-aws Connecting to the service provider {"uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "name": "test-vpc-ali-123-az2", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023-11-23T16:32:27Z DEBUG provider-aws Instance state not found in cache, reconstructing... {"uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment"}
2023-11-23T16:32:27Z DEBUG provider-aws Observing the external resource {"uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment"}
2023-11-23T16:32:27Z DEBUG provider-aws Diff detected {"uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment", "instanceDiff": "*terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{\"appliance_mode_support\":*terraform.ResourceAttrDiff{Old:\"\", New:\"disable\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"dns_support\":*terraform.ResourceAttrDiff{Old:\"\", New:\"enable\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"ipv6_support\":*terraform.ResourceAttrDiff{Old:\"\", New:\"disable\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"subnet_ids.#\":*terraform.ResourceAttrDiff{Old:\"0\", New:\"2\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"subnet_ids.2323378330\":*terraform.ResourceAttrDiff{Old:\"\", New:\"subnet-08bcb1d542c32fc57\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"subnet_ids.430129928\":*terraform.ResourceAttrDiff{Old:\"\", New:\"subnet-0a3352a661d121e6f\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.%\":*terraform.ResourceAttrDiff{Old:\"0\", New:\"4\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.Name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123-tgw-attachment\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.crossplane-kind\":*terraform.ResourceAttrDiff{Old:\"\", New:\"transitgatewayvpcattachment.ec2.aws.upbound.io\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.crossplane-name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123-tgw-attachment\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.crossplane-providerconfig\":*terraform.ResourceAttrDiff{Old:\"\", New:\"account-a\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.%\":*terraform.ResourceAttrDiff{Old:\"0\", New:\"4\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.Name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123-tgw-attachment\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.crossplane-kind\":*terraform.ResourceAttrDiff{Old:\"\", New:\"transitgatewayvpcattachment.ec2.aws.upbound.io\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.crossplane-name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123-tgw-attachment\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.crossplane-providerconfig\":*terraform.ResourceAttrDiff{Old:\"\", New:\"account-a\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"transit_gateway_default_route_table_association\":*terraform.ResourceAttrDiff{Old:\"\", New:\"true\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"transit_gateway_default_route_table_propagation\":*terraform.ResourceAttrDiff{Old:\"\", New:\"true\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"transit_gateway_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"tgw-00c62d3c709d44130\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, \"vpc_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"vpc-0a20c269ccf74af22\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, \"vpc_owner_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, RawConfig:cty.NilVal, RawState:cty.NilVal, RawPlan:cty.NilVal, Meta:map[string]interface {}(nil)}"}
2023-11-23T16:32:27Z DEBUG provider-aws Async create starting... {"trackerUID": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "resourceName": "test-vpc-ali-123-tgw-attachment", "tfID": ""}
2023-11-23T16:32:27Z DEBUG provider-aws Creating the external resource {"uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment"}
2023/11/23 16:32:27 [DEBUG] Creating EC2 Transit Gateway VPC Attachment: {
Options: {
ApplianceModeSupport: "disable",
DnsSupport: "enable",
Ipv6Support: "disable"
},
SubnetIds: ["subnet-08bcb1d542c32fc57","subnet-0a3352a661d121e6f"],
TagSpecifications: [{
ResourceType: "transit-gateway-attachment",
Tags: [
{
Key: "crossplane-providerconfig",
Value: "account-a"
},
{
Key: "crossplane-kind",
Value: "transitgatewayvpcattachment.ec2.aws.upbound.io"
},
{
Key: "crossplane-name",
Value: "test-vpc-ali-123-tgw-attachment"
},
{
Key: "Name",
Value: "test-vpc-ali-123-tgw-attachment"
}
]
}],
TransitGatewayId: "tgw-00c62d3c709d44130",
VpcId: "vpc-0a20c269ccf74af22"
}
2023-11-23T16:32:27Z DEBUG provider-aws Successfully requested creation of external resource {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "version": "2082592", "external-name": "", "external-name": ""}
2023-11-23T16:32:27Z DEBUG provider-aws Calling the inner handler for Update event. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment", "name": "test-vpc-ali-123-tgw-attachment", "queueLength": 0}
2023-11-23T16:32:27Z DEBUG events Successfully requested creation of external resource {"type": "Normal", "object": {"kind":"TransitGatewayVPCAttachment","name":"test-vpc-ali-123-tgw-attachment","uid":"dc84892c-93a9-48ae-94a6-0bcc8a051341","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082708"}, "reason": "CreatedExternalResource"}
2023-11-23T16:32:27Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:32:27Z DEBUG provider-aws Connecting to the service provider {"uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment"}
2023-11-23T16:32:27Z DEBUG provider-aws Observing the external resource {"uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "name": "test-vpc-ali-123-az2", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023/11/23 16:32:27 [DEBUG] Waiting for state to become: [success]
2023-11-23T16:32:28Z DEBUG provider-aws Instance state not found in cache, reconstructing... {"uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment"}
2023-11-23T16:32:28Z DEBUG provider-aws ongoing async operation {"uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment", "opType": "create"}
2023-11-23T16:32:28Z DEBUG provider-aws External resource is up to date {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "version": "2082710", "external-name": "", "requeue-after": "2023-11-23T16:42:55Z"}
2023-11-23T16:32:28Z DEBUG provider-aws Observing the external resource {"uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "name": "test-vpc-ali-123-az1", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=Subnet"}
2023/11/23 16:32:28 [DEBUG] Waiting for state to become: [success]
2023/11/23 16:32:28 [DEBUG] Waiting for state to become: [available pendingAcceptance]
2023-11-23T16:32:28Z DEBUG provider-aws External resource is up to date {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az2"}, "uid": "7c569edc-53e8-4ad0-91c0-52cbc360ef90", "version": "2082678", "external-name": "subnet-08bcb1d542c32fc57", "requeue-after": "2023-11-23T16:42:38Z"}
2023-11-23T16:32:28Z DEBUG provider-aws External resource is up to date {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=subnet", "request": {"name":"test-vpc-ali-123-az1"}, "uid": "c48ab70c-adfd-45d5-83ab-59e02838f707", "version": "2082679", "external-name": "subnet-0a3352a661d121e6f", "requeue-after": "2023-11-23T16:42:25Z"}
2023-11-23T16:32:28Z DEBUG provider-aws Async create ended. {"trackerUID": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "resourceName": "test-vpc-ali-123-tgw-attachment", "error": null, "tfID": "tgw-attach-058af81adededbeb3"}
2023-11-23T16:32:28Z DEBUG provider-aws Reconcile request has been requeued. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment", "name": "test-vpc-ali-123-tgw-attachment", "rateLimiterName": "", "when": "0s"}
2023-11-23T16:32:28Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:32:28Z DEBUG provider-aws Connecting to the service provider {"uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment"}
2023-11-23T16:32:29Z DEBUG provider-aws Observing the external resource {"uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment"}
2023-11-23T16:32:29Z DEBUG provider-aws External resource is up to date {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "version": "2082715", "external-name": "", "requeue-after": "2023-11-23T16:42:26Z"}
2023-11-23T16:32:29Z DEBUG provider-aws Calling the inner handler for Update event. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment", "name": "test-vpc-ali-123-tgw-attachment", "queueLength": 0}
2023-11-23T16:32:29Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:32:29Z DEBUG provider-aws Connecting to the service provider {"uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment"}
2023-11-23T16:32:30Z DEBUG provider-aws Observing the external resource {"uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment"}
2023-11-23T16:32:30Z DEBUG provider-aws External resource is up to date {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "version": "2082718", "external-name": "tgw-attach-058af81adededbeb3", "requeue-after": "2023-11-23T16:43:00Z"}
2023-11-23T16:32:58Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:32:58Z DEBUG provider-aws Connecting to the service provider {"uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachmentAccepter"}
2023-11-23T16:32:58Z DEBUG provider-aws Calling the inner handler for Update event. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachmentAccepter", "name": "test-vpc-ali-123-tgw-attachment", "queueLength": 0}
2023-11-23T16:32:59Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:32:59Z DEBUG provider-aws Connecting to the service provider {"uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment"}
2023-11-23T16:32:59Z DEBUG provider-aws Instance state not found in cache, reconstructing... {"uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachmentAccepter"}
2023-11-23T16:32:59Z DEBUG provider-aws Observing the external resource {"uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachmentAccepter"}
2023-11-23T16:32:59Z DEBUG provider-aws Diff detected {"uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachmentAccepter", "instanceDiff": "*terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{\"tags.%\":*terraform.ResourceAttrDiff{Old:\"0\", New:\"3\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.crossplane-kind\":*terraform.ResourceAttrDiff{Old:\"\", New:\"transitgatewayvpcattachmentaccepter.ec2.aws.upbound.io\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.crossplane-name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123-tgw-attachment\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.crossplane-providerconfig\":*terraform.ResourceAttrDiff{Old:\"\", New:\"account-b\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.%\":*terraform.ResourceAttrDiff{Old:\"0\", New:\"3\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.crossplane-kind\":*terraform.ResourceAttrDiff{Old:\"\", New:\"transitgatewayvpcattachmentaccepter.ec2.aws.upbound.io\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.crossplane-name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"test-vpc-ali-123-tgw-attachment\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags_all.crossplane-providerconfig\":*terraform.ResourceAttrDiff{Old:\"\", New:\"account-b\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, RawConfig:cty.NilVal, RawState:cty.NilVal, RawPlan:cty.NilVal, Meta:map[string]interface {}(nil)}"}
2023-11-23T16:32:59Z DEBUG provider-aws Calling the inner handler for Update event. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachmentAccepter", "name": "test-vpc-ali-123-tgw-attachment", "queueLength": 0}
2023-11-23T16:32:59Z DEBUG provider-aws Successfully requested update of external resource {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "version": "2082597", "external-name": "", "requeue-after": "2023-11-23T16:42:40Z"}
2023-11-23T16:32:59Z DEBUG provider-aws Async update starting... {"trackerUID": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "resourceName": "test-vpc-ali-123-tgw-attachment", "tfID": "tgw-attach-058af81adededbeb3"}
2023-11-23T16:32:59Z DEBUG provider-aws Updating the external resource {"uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachmentAccepter"}
2023-11-23T16:32:59Z DEBUG events Successfully requested update of external resource {"type": "Normal", "object": {"kind":"TransitGatewayVPCAttachmentAccepter","name":"test-vpc-ali-123-tgw-attachment","uid":"fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9","apiVersion":"ec2.aws.upbound.io/v1beta1","resourceVersion":"2082775"}, "reason": "UpdatedExternalResource"}
2023-11-23T16:32:59Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:32:59Z DEBUG provider-aws Connecting to the service provider {"uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachmentAccepter"}
2023-11-23T16:33:00Z DEBUG provider-aws Async update ended. {"trackerUID": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "resourceName": "test-vpc-ali-123-tgw-attachment", "error": null, "tfID": "tgw-attach-058af81adededbeb3"}
2023-11-23T16:33:00Z DEBUG provider-aws Reconcile request has been requeued. {"gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachmentAccepter", "name": "test-vpc-ali-123-tgw-attachment", "rateLimiterName": "", "when": "0s"}
2023-11-23T16:33:00Z DEBUG provider-aws Observing the external resource {"uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachment"}
2023-11-23T16:33:00Z DEBUG provider-aws External resource is up to date {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachment", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "dc84892c-93a9-48ae-94a6-0bcc8a051341", "version": "2082721", "external-name": "tgw-attach-058af81adededbeb3", "requeue-after": "2023-11-23T16:42:46Z"}
2023-11-23T16:33:00Z DEBUG provider-aws Observing the external resource {"uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachmentAccepter"}
2023-11-23T16:33:01Z DEBUG provider-aws External resource is up to date {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "version": "2082778", "external-name": "tgw-attach-058af81adededbeb3", "requeue-after": "2023-11-23T16:43:17Z"}
2023-11-23T16:33:01Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:33:01Z DEBUG provider-aws Connecting to the service provider {"uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachmentAccepter"}
2023-11-23T16:33:02Z DEBUG provider-aws Observing the external resource {"uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachmentAccepter"}
2023-11-23T16:33:02Z DEBUG provider-aws External resource is up to date {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "version": "2082780", "external-name": "tgw-attach-058af81adededbeb3", "requeue-after": "2023-11-23T16:43:11Z"}
2023-11-23T16:33:02Z DEBUG provider-aws Reconciling {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}}
2023-11-23T16:33:02Z DEBUG provider-aws Connecting to the service provider {"uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachmentAccepter"}
2023-11-23T16:33:03Z DEBUG provider-aws Observing the external resource {"uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "name": "test-vpc-ali-123-tgw-attachment", "gvk": "ec2.aws.upbound.io/v1beta1, Kind=TransitGatewayVPCAttachmentAccepter"}
2023-11-23T16:33:04Z DEBUG provider-aws External resource is up to date {"controller": "managed/ec2.aws.upbound.io/v1beta1, kind=transitgatewayvpcattachmentaccepter", "request": {"name":"test-vpc-ali-123-tgw-attachment"}, "uid": "fd512fd3-bf18-41f4-9925-d3ee9c5ad7c9", "version": "2082786", "external-name": "tgw-attach-058af81adededbeb3", "requeue-after": "2023-11-23T16:43:22Z"}
What happened?
I am attempting to attach a crossplane managed VPC to an existing transit gateway using
TransitGatewayVpcAttachment
andTransitGatewayVpcAttachmentAccepter
resources. TheTransitGatewayVpcAttachment
creates the attachment request and I can see the attachment pending acceptance in the AWS console. However, when I add theTransitGatewayVpcAttachmentAccepter
resource, the pending attachment is not accepted, but I do see that crossplane labels are added to the resource. All API calls appear to be successful according to the logs. I was unable to reproduce this issue using Terraform with the same provider version, so this doesn't appear to be a TF provider issue.How can we reproduce it?
MR:
Composition/XRD:
What environment did it happen in?
1.13.1
and1.12.2
0.38
and0.37
Server Version: version.Info{Major:"1", Minor:"23+", GitVersion:"v1.23.17-eks-a5565ad", GitCommit:"23f44c7dd4e8e23856387345e7cb80bf0f93ced6", GitTreeState:"clean", BuildDate:"2023-06-15T21:19:39Z", GoVersion:"go1.19.6", Compiler:"gc", Platform:"linux/amd64"}
EKS