[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ResourceAssociation for resource sharing only allows subnets #662

Closed
SeanLeFevreCricut opened this issue Apr 7, 2023 · 2 comments · Fixed by #667
Closed

ResourceAssociation for resource sharing only allows subnets #662

SeanLeFevreCricut opened this issue Apr 7, 2023 · 2 comments · Fixed by #667
Labels
bug Something isn't working needs:triage

Comments

@SeanLeFevreCricut
Copy link
SeanLeFevreCricut commented Apr 7, 2023

What happened?

When attempting to add a transit gateway using to a ResourceAssociation the following error occurs:

cannot resolve references: mg.Spec.ForProvider.ResourceArn: cannot get referenced resource: Subnet.ec2.aws.upbound.io "[transitgateway-name]" not found

How can we reproduce it?

  1. Create a TransitGateway
  2. Create a ResourceShare
  3. Create a ResourceAssociation using resourceArnRef: with the name of the TransitGateway

apiVersion: ram.aws.upbound.io/v1beta1
kind: ResourceAssociation
metadata:
name: name-ra
spec:
forProvider:
region: [region]
resourceArnRef:
name: [transitgateway-name]
resourceShareArnRef:
name: [resourceshare-name]
providerConfigRef:
name: [provider-config]

What environment did it happen in?

  • Crossplane Version:
  • Provider Version: v0.32.1
  • Kubernetes Version: 1.25
  • Kubernetes Distribution: EKS
@SeanLeFevreCricut SeanLeFevreCricut added bug Something isn't working needs:triage labels Apr 7, 2023
@haarchri
Copy link
Member

the problem is that resource_arn can have a selector / reference to multiple resorce types think we have a few issues regarding this:

crossplane/upjet#95
crossplane/upjet#61

i will open an PR shortly

@haarchri
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs:triage
Projects
None yet
2 participants