cloudposse / cloudposse/atmos

Quickstart: errors on running terraform plan/apply using newer version for the example component

Open
#400 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
1.4k
Forks
175
Avg merge
2d 3h
Merged PRs (30d)
134

Description

### Describe the Bug

Newer versions of vpc* components expect additional dependencies, causing the terraform command to fail

### Expected Behavior

Quickstart without issues

### Steps to Reproduce

Follow the quickstart, use latest version of the vpc* components

### Screenshots

```
Initializing the backend...
Initializing modules...
Downloading registry.terraform.io/cloudposse/security-group/aws 2.1.0 for endpoint_security_groups...
- endpoint_security_groups in .terraform/modules/endpoint_security_groups
Downloading registry.terraform.io/cloudposse/label/null 0.25.0 for endpoint_security_groups.this...
- endpoint_security_groups.this in .terraform/modules/endpoint_security_groups.this
- iam_roles in
Downloading registry.terraform.io/cloudposse/dynamic-subnets/aws 2.3.0 for subnets...
- subnets in .terraform/modules/subnets
Downloading registry.terraform.io/cloudposse/label/null 0.25.0 for subnets.nat_instance_label...
- subnets.nat_instance_label in .terraform/modules/subnets.nat_instance_label
Downloading registry.terraform.io/cloudposse/label/null 0.25.0 for subnets.nat_label...
- subnets.nat_label in .terraform/modules/subnets.nat_label
Downloading registry.terraform.io/cloudposse/label/null 0.25.0 for subnets.private_label...
- subnets.private_label in .terraform/modules/subnets.private_label
Downloading registry.terraform.io/cloudposse/label/null 0.25.0 for subnets.public_label...
- subnets.public_label in .terraform/modules/subnets.public_label
Downloading registry.terraform.io/cloudposse/label/null 0.25.0 for subnets.this...
- subnets.this in .terraform/modules/subnets.this
Downloading registry.terraform.io/cloudposse/utils/aws 1.1.0 for subnets.utils...
- subnets.utils in .terraform/modules/subnets.utils
Downloading registry.terraform.io/cloudposse/label/null 0.25.0 for subnets.utils.this...
- subnets.utils.this in .terraform/modules/subnets.utils.this
Downloading registry.terraform.io/cloudposse/utils/aws 1.3.0 for utils...
- utils in .terraform/modules/utils
Downloading registry.terraform.io/cloudposse/label/null 0.25.0 for utils.this...
- utils.this in .terraform/modules/utils.this
Downloading registry.terraform.io/cloudposse/vpc/aws 2.1.0 for vpc...
- vpc in .terraform/modules/vpc
Downloading registry.terraform.io/cloudposse/label/null 0.25.0 for vpc.label...
- vpc.label in .terraform/modules/vpc.label
Downloading registry.terraform.io/cloudposse/label/null 0.25.0 for vpc.this...
- vpc.this in .terraform/modules/vpc.this
Downloading registry.terraform.io/cloudposse/vpc/aws 2.1.0 for vpc_endpoints...
- vpc_endpoints in .terraform/modules/vpc_endpoints/modules/vpc-endpoints
Downloading registry.terraform.io/cloudposse/label/null 0.25.0 for vpc_endpoints.gateway_endpoint_label...
- vpc_endpoints.gateway_endpoint_label in .terraform/modules/vpc_endpoints.gateway_endpoint_label
Downloading registry.terraform.io/cloudposse/label/null 0.25.0 for vpc_endpoints.interface_endpoint_label...
- vpc_endpoints.interface_endpoint_label in .terraform/modules/vpc_endpoints.interface_endpoint_label
Downloading registry.terraform.io/cloudposse/label/null 0.25.0 for vpc_endpoints.this...
- vpc_endpoints.this in .terraform/modules/vpc_endpoints.this
Downloading registry.terraform.io/cloudposse/stack-config/yaml 1.4.2 for vpc_flow_logs_bucket...
- vpc_flow_logs_bucket in .terraform/modules/vpc_flow_logs_bucket/modules/remote-state
Downloading registry.terraform.io/cloudposse/label/null 0.25.0 for vpc_flow_logs_bucket.always...
- vpc_flow_logs_bucket.always in .terraform/modules/vpc_flow_logs_bucket.always

│ Error: Unreadable module directory

│ Unable to evaluate directory symlink: lstat ../account-map: no such file or directory


│ Error: Unreadable module directory

│ The directory could not be read for module "iam_roles" at providers.tf:16.

exit status 1

```

### Environment

_No response_

### Additional Context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.