try fix for win again
@@ -32,7 +32,8 @@ test:
commands:
# Create a sample init.tf loading the provider. Set source namespace since different than default 'hashicorp/'
- - echo -e 'provider "{{ provider|lower }}" { version="{{ version }}" }\n\nterraform {\n required_providers {\n {{ provider|lower }} = {\n source="elastic/ec"\n version="{{ version }}"\n }\n }\n }' > init.tf
+ - echo -e 'provider "{{ provider|lower }}" { version="{{ version }}" }\n\nterraform {\n required_providers {\n {{ provider|lower }} = {\n source="elastic/ec"\n version="{{ version }}"\n }\n }\n }' > init.tf # [unix]
+ - echo provider "{{ provider|lower }}" { version="{{ version }}" }$'\n'$'\n'terraform {$'\n' required_providers {$'\n' {{ provider|lower }} = {$'\n' source="elastic/ec"$'\n' version="{{ version }}"$'\n' }$'\n' }$'\n' } > init.tf # [win]
# Initialize
- terraform init
