more edits to test echo line
@@ -32,8 +32,8 @@ test:
commands:
# Create a sample init.tf loading the provider
- - echo -e 'provider "{{ provider|lower }}" { version="{{ version }}" }\n terraform { required_providers { {{ provider|lower }} = { source="elastic/ec" } } }' > init.tf # [unix]
- - echo -e provider "{{ provider|lower }}" { version="{{ version }}" }\n terraform { required_providers { {{ provider|lower }} = { source="elastic/ec" } } } > init.tf # [win]
+ - echo 'terraform { required_providers { {{ provider|lower }} = { source="elastic/ec" version="{{ version }}" } } }' > init.tf # [unix]
+ - echo terraform { required_providers { {{ provider|lower }} = { source="elastic/ec" version="{{ version }}" } } } > init.tf # [win]
# Initialize
- terraform init
