You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by GitBox <gi...@apache.org> on 2022/07/14 13:10:43 UTC

[GitHub] [brooklyn-server] ahgittin opened a new pull request, #1340: Dynamic group ancestor

ahgittin opened a new pull request, #1340:
URL: https://github.com/apache/brooklyn-server/pull/1340

   All `dynamicgroup.ancestor` to point to an entity (or a different application) to restrict what entities are permitted to join the group.
   
   Tested with `brooklyn-terraform` to restrict discovery in our group to a specific terraform configuration `efs-tier-tf`, as follows:
   
   ```
     - id: efs-tier-tf
       item:
           type: terraform
           name: EFS+VM (TF)
           location: localhost
           brooklyn.config:
             tf.configuration.url: classpath://updating-web-with-efs-efs-volume.zip
             tf_var.name: amp-alex-2
             tf_var.ami: ami-0fe9b2de9ff3caeb2   # 2021-10
             # tf_var.ami: ami-0852b274a4f812259 # 2022-04
           brooklyn.initializers:
             - type: terraform-drift-compliance-check
               brooklyn.config:
                 terraform.resources-drift.enabled: true
   
     - id: efs-tier
       iconUrl: classpath://efs.png
       item:
         name: Shared Storage (EFS)
         services:
         - type: efs-tier-tf
           id: efs-tier-tf
         - type: org.apache.brooklyn.entity.group.DynamicGroup
           name: EFS Server
           brooklyn.config:
             dynamicgroup.ancestor: $brooklyn:entity("efs-tier-tf")
             dynamicgroup.entityfilter:
               config: tf.resource.type
               equals: aws_instance
         - type: efs-tier-tf
           brooklyn.config:
             tf_var.name: amp-alex-3-excluded
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brooklyn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [brooklyn-server] iuliana merged pull request #1340: Dynamic group ancestor

Posted by GitBox <gi...@apache.org>.
iuliana merged PR #1340:
URL: https://github.com/apache/brooklyn-server/pull/1340


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brooklyn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org