Advertisement
fkeles

create-dynamic-group.sh

May 9th, 2023 (edited)
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.31 KB | Source Code | 0 0
  1. ## create dynamic group with a matching rule of having a tag value
  2. oci iam dynamic-group create --compartment-id ocid1.tenancy.oc1..<unique-tenancy-id> --description "Allow instances with specific tags to run commands " --name RunCommandDynamicGroup --matching-rule "tag.RunCommandOnComputeInstance.Allowed.value='True'"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement