Skip to content

Nested sequences or concurrency groups #20

@danielloader

Description

@danielloader

What problem are you facing?

I'd like to have a sequence that waits for a VPCEndpoint object to be created, then simultaneously create many VPCEndpointSubnetAssociations and VPCEndpointSecurityGroupAssociations, without having to define many sequences that all end in a singular object after a VPCEndpoint object.

How could this Function help solve your problem?

    - step: sequence-creation
      functionRef:
        name: function-sequencer
      input:
        apiVersion: sequencer.fn.crossplane.io/v1beta1
        kind: Input
        rules:
          - sequence:
            - project
            - endpoint
            - vpcEndpoint
            - group:
              - vpcEndpointSubnetAssociation-0
              - vpcEndpointSubnetAssociation-1
              - vpcEndpointSubnetAssociation-2
              - vpcEndpointSecurityGroupAssociation
            - endpointService

As an initial spitball idea, but the idea of reserving 'group' as a resource name for this functionality feels a bit cludgy.

Since this effectively a function to form a DAG of operations, something that allows DAG like functionality would be welcome!

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions