Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Issue while passing the securityGroupIds through patches to elasticsearch.aws.jet.crossplane.io  #232

@VishnuPrasad-Xyram

Description

@VishnuPrasad-Xyram

What happened?

I created securityGroup as part of the composition and patched securityGroup-ID to composite resource using below patch

- type: ToCompositeFieldPath
  fromFieldPath: status.atProvider.securityGroupID
  toFieldPath: status.securityGroupID
  policy:
    fromFieldPath: Required

Then patching securityGroup-ID to elasticsearch.aws.jet.crossplane.io using below patch

- type: FromCompositeFieldPath
  fromFieldPath: status.securityGroupID
  toFieldPath: spec.forProvider.vpcOptions[0].securityGroupIds[0]
  policy:
    fromFieldPath: Required

After that when I describe Domain.elasticsearch.aws.jet.crossplane.io/NAME, I could see the correct securityGroup-ID being patched to the resource, but when I checked in the AWS console it took the default securityGroup-ID while creating the elasticSearch Domain.

What environment did it happen in?

  • Crossplane version: crossplane/crossplane:v1.9.0
  • Crossplane provider: crossplane-contrib/provider-jet-aws@v0.5.0-preview
  • apiVersion: elasticsearch.aws.jet.crossplane.io/v1alpha1
  • kind: Domain
  • Cloud provider : AWS
  • Kubernetes version : 1.22
  • Kubernetes distribution : Amazon EKS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions