Skip to content

v1.11.3

Compare
Choose a tag to compare
@aknysh aknysh released this 04 Nov 16:41
· 160 commits to master since this release
ad537c1

what

  • Fix atmos vendor pull command

why

  • The function os.IsNotExist has probably changed in some latest Go versions
  • After calling os.Stat, don't check for "path does not exist" errors using os.IsNotExist, instead check for all errors
  • This fixes the error:
atmos vendor pull -c acm

Pulling sources for the component 'acm' from 

'/localhost/infra/components/terraform/acm/github.com/cloudposse/terraform-aws-components.git/modules/acm?ref=1.86.0' 

and writing to '/localhost/infra/components/terraform/acm'


error downloading 'file:///localhost/infra/components/terraform/acm/github.com/cloudposse/terraform-aws-components.git/modules/acm?ref=1.86.0': 

source path error: stat /localhost/infra/components/terraform/acm/github.com/cloudposse/terraform-aws-components.git/modules/acm: no such file or directory