2019-06-12 16:25:54 +02:00
|
|
|
---
|
|
|
|
# defaults file for aws_codebuild
|
2019-09-04 15:59:35 +02:00
|
|
|
|
|
|
|
# IAM role names have to be less than 64 characters
|
|
|
|
# The 8 digit identifier at the end of resource_prefix helps determine during
|
|
|
|
# which test something was created and allows tests to be run in parallel
|
2019-09-04 18:48:37 +02:00
|
|
|
# Shippable resource_prefixes are in the format shippable-123456-123, so in those cases
|
|
|
|
# we need both sets of digits to keep the resource name unique
|
|
|
|
unique_id: "{{ resource_prefix | regex_search('(\\d+-?)(\\d+)$') }}"
|
|
|
|
iam_role_name: "ansible-test-sts-{{ unique_id }}-codebuild-service-role"
|