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

Conflicting configuration arguments: "ipv6_addresses": conflicts with ipv6_address_count #226

Open
RealFatCat opened this issue Aug 10, 2022 · 0 comments · May be fixed by #227
Open

Conflicting configuration arguments: "ipv6_addresses": conflicts with ipv6_address_count #226

RealFatCat opened this issue Aug 10, 2022 · 0 comments · May be fixed by #227
Labels
bug Something isn't working

Comments

@RealFatCat
Copy link

RealFatCat commented Aug 10, 2022

What happened?

Trying to create network interface with ipv6.
After creation the SYNCED status goes to False.

The message I've got:

    message: |-
      observe failed: cannot run refresh: refresh failed: Conflicting configuration arguments: "ipv6_addresses": conflicts with ipv6_address_count: File name: main.tf.json
      Conflicting configuration arguments: "ipv6_address_count": conflicts with ipv6_addresses: File name: main.tf.json

How can we reproduce it?

---
apiVersion: ec2.aws.jet.crossplane.io/v1alpha2
kind: VPC
metadata:
  name: vpc
  labels:
    crossplane.io/app: exp
spec:
  forProvider:
    assignGeneratedIpv6CidrBlock: true
    cidrBlock: 10.3.0.0/16
    enableDnsSupport: true
    enableDnsHostnames: true
    instanceTenancy: default
    tags:
      "Name": vpc
    region: us-east-2
  deletionPolicy: Delete
  providerConfigRef:
    name: default
---
apiVersion: ec2.aws.jet.crossplane.io/v1alpha2
kind: Subnet
metadata:
  name: subnet-a
  labels:
    crossplane.io/app: exp
spec:
  forProvider:
    region: us-east-2
    availabilityZone: us-east-2a
    cidrBlock: 10.3.1.0/24
    ipv6CidrBlock: <CHANGE_ME_TO_IPV6_CIDR_BLOCK_OF_VPC>
    vpcIdRef:
      name: vpc
    mapPublicIpOnLaunch: true
    assignIpv6AddressOnCreation: true
    tags:
      Name: subnet-a
  deletionPolicy: Delete
  providerConfigRef:
    name: default
---
apiVersion: ec2.aws.jet.crossplane.io/v1alpha2
kind: NetworkInterface
metadata:
  name: ni-a
  labels:
    crossplane.io/app: exp
spec:
  forProvider:
    region: us-east-2
    subnetIdRef:
      name: subnet-a
    tags:
      Name: ni-a
  deletionPolicy: Delete
  providerConfigRef:
    name: default

What environment did it happen in?

Provider Image installed with kubectl crossplane install ...:
crossplane/provider-jet-aws-controller:v0.5.0

@RealFatCat RealFatCat added the bug Something isn't working label Aug 10, 2022
@RealFatCat RealFatCat linked a pull request Aug 10, 2022 that will close this issue
2 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant