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!
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
⏚ [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
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