Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Mark Conigliaro
    @markconigliaro1
    Yup both files are in that directory
    Deepanjan Bhattacharyya
    @deepanjan90
    could you take instance.gyro outside the .gyro directory
    Mark Conigliaro
    @markconigliaro1
    Wow that worked
    Deepanjan Bhattacharyya
    @deepanjan90
    gyro checks for config files outside the .gyro dir. It only uses the .gyro dir for internal configs
    Mark Conigliaro
    @markconigliaro1
    That makes sense
    im checking to make sure i read the docs correctly haha
    Given the docs always referenced init.gyro as .gyro/init.gyro i guess it was implying you should be a level up. So probably a misunderstanding on my end then!
    thanks for the help!
    Deepanjan Bhattacharyya
    @deepanjan90
    :)
    Gemini Agaloos
    @GeminiAgaloos
    Hello All. Any plans/work being done on supporting AWS EKS on the gyro-aws-provider? https://github.com/perfectsense/gyro-aws-provider
    3 replies
    ErikBZ
    @ErikBZ

    Is there a way to escape quotes in gyro strings? I expected the following to print
    The cat says: "Test"

    var: "Test"
    var2: "The cat says: \"$(var)\""
    
    @print: $(var2)

    but it prints "The cat says: \"Test\"" instead

    ErikBZ
    @ErikBZ

    For some extra context, the Google Service Account Role has a field "condition". The syntax for the conditions require double quotes, like

    expression: 'resource.name.startsWith("projects/_/buckets/some_bucket/path") || 
    resource.name.startsWith("projects/_/buckets/another_bucket/path")'

    Since we have to use single quotes, we're not able to use variables in the condition expressions

    1 reply
    Todd Loisel
    @tloisel1
    i'm having trouble building the google provider:
    ⏚ [tloisel:~/projects/gyro/gyro-google-provider] master 2s 1 ± ./gradlew
    > Task :compileJava FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':compileJava'.
    > Could not resolve all files for configuration ':compileClasspath'.
       > Could not find threetenbp-no-tzdb.jar (org.threeten:threetenbp:1.4.1).
         Searched in the following locations:
             file:/Users/tloisel/.m2/repository/org/threeten/threetenbp/1.4.1/threetenbp-1.4.1-no-tzdb.jar
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    
    * Get more help at https://help.gradle.org
    
    BUILD FAILED in 1s
    2 actionable tasks: 2 executed
    not sure where that file would come from
    JC
    @beetlebugorg
    I don't get this error. I even cleaned out my ~/.m2/repository directory. Google provider rebuilt fine and I don't even have threetenbp jars in there.
    Todd Loisel
    @tloisel1
    i had a workaroud yesterday, but clearing my ~/.m2/repository seems to resolve the issue as well
    Todd Loisel
    @tloisel1
    is there a String Match rule for AWS WAF?
    Screenshot_2020-05-19 AWS WAF Classic.png
    this is what i'm trying to express :point_up_2:
    JC
    @beetlebugorg
    I was just going to ask... doesn't waf just use regex.
    Hmm.
    Todd Loisel
    @tloisel1
    oh, it's called ByteMatch
    looks like there's a V2 of WAF as well now. (incompatible with V1)
    JC
    @beetlebugorg
    "classic waf" haha
    Any idea what the differences are?
    @deepanjan90 probably should put wafv2 into the backlog
    I like that they got rid of the regional API.
    Deepanjan Bhattacharyya
    @deepanjan90
    On it
    Todd Loisel
    @tloisel1
    I created an issue for GCP regarding instance health for backend compute services: perfectsense/gyro-google-provider#179.
    I also took a crack at the solution since it was pretty straightforward: perfectsense/gyro-google-provider#180
    I think this was the right direction, but I'd need to know before updating our project template
    JC
    @beetlebugorg
    I'll check this out in a few and let you know.
    JC
    @beetlebugorg
    Reading the code this is the output I'd expect from this: { "all": { "Total": 1, "HEALTHY": 1, "UNHEALTHY": 0 }, "my-backend": { "Total": 1, "HEALTHY": 1, "UNHEALTHY": 0 }, "my-other-backend": { "Total": 1, "HEALTHY": 1, "UNHEALTHY": 0 } }
    Does that look correct? If so, that seems like the right approach.
    Todd Loisel
    @tloisel1
    yeah, that's output
    JC
    @beetlebugorg
    Cool, I think that's a good approach.
    Todd Loisel
    @tloisel1
    :thumbsup:
    JC
    @beetlebugorg
    I'll try to get this merged soon. I have a few other PRs for GCP to merge as well. :)
    Todd Loisel
    @tloisel1
    cool
    Angel Alberto Briceño Obregon
    @abriceno
    Hello @all
    JC
    @beetlebugorg
    Hello
    Angel Alberto Briceño Obregon
    @abriceno
    How to create tag 'Name' in rule ingress of security group?
    Error: Can't set ingress to [{protocol=tcp, from-port=9200, to-port=9300, cidr-block=10.5.1.0/24, description=Elasticsearch access from management subnet, tags={Name=elasticsearch-rule}}] because it can't be converted to an instance of java.util.List<gyro.aws.ec2.SecurityGroupIngressRuleResource>!
    
    In elasticsearch-cluster.gyro from line 38 at column 5 to line 48 at column 7:
    37:     security-group: $(aws::security-group elasticsearch-sg)
    38:     ingress
    39:         protocol: tcp
    40:         from-port: 9200
    41:         to-port: 9300
    42:         cidr-block: '10.5.1.0/24'
    43:         description: 'Elasticsearch access from management subnet'
    44: 
    45:         tags: {
    46:             Name: 'elasticsearch-rule'
    47:         }
    48:     end
    49: end
    Angel Alberto Briceño Obregon
    @abriceno
    Hi all
    Angel Alberto Briceño Obregon
    @abriceno
    How is the project going ?
    Deepanjan Bhattacharyya
    @deepanjan90
    @abriceno The project is going well and we continue to expand on the providers (Aws, GCP and Azure)
    1 reply
    Angel Alberto Briceño Obregon
    @abriceno
    Hello everyone,
    To install plugins in gyro I use proxy. What is the configuration to use proxy in Linux?
    4 replies
    Ken Esparta Ccorahua
    @kenesparta
    Hello all. Is there a way to use environment variables in the .gyro? Thanks!!
    2 replies
    Angel Alberto Briceño Obregon
    @abriceno
    Hello everyone,
    I need do use SecretsManager, It's possible in Gyro?
    2 replies
    Angel Alberto Briceño Obregon
    @abriceno
    Hi everyone,
    How can I upload a .sh script in user-data and run it?
    8 replies