Skip to content

ACK EC2 Controller doesn't adopt VPC Peering Connection #2480

@stefanescualexandrumihai

Description

Describe the bug
Same as here : #2419
Steps to reproduce

apiVersion: ec2.services.k8s.aws/v1alpha1
kind: VPCPeeringConnection
metadata:
  annotations:
    services.k8s.aws/adopted: "true"
    services.k8s.aws/adoption-fields: |
      {
        "vpcPeeringConnectionID": "pcx-03240039307ec4900"
      }
    services.k8s.aws/adoption-policy: adopt
  name: test-vpc-peer-to-test
  namespace: ci-clusters
status:
  conditions:
  - lastTransitionTime: "2025-05-14T08:27:04Z"
    message: Reference resolution failed
    reason: 'resource reference wrapper or ID required: VPCID,VPCRef'
    status: Unknown
    type: ACK.ReferencesResolved

Image

Expected outcome
A concise description of what you expected to happen.

Environment

  • Kubernetes version 1.30
  • Using EKS (yes/no), if so version? 1.30
  • AWS service targeted (S3, RDS, etc.) ACK EC2 1.4.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/adoption-annotationIssues or PRs related to ACK Adoption by Annotation featureservice/ec2Indicates issues or PRs that are related to ec2-controller.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions