cloudposse / cloudposse/terraform-aws-ec2-instance

Dependency on aws provider >5.0

Open
#161 0 comments 6 reactions 0 assignees View on GitHub
bug
Dominant language
HCL
Stars
169
Forks
216
PR merge metrics
No merged PRs in 30d

Description

### Describe the Bug

The recent changes to `aws_eip` force a dependency on the 5.0 `aws` provider. Using 4.x throws errors with

```
on .terraform/modules/data_host.box/main.tf line 175, in resource "aws_eip" "default":
domain = "vpc"
Can't configure a value for "domain": its value will be decided automatically based on the result of applying this configuration.
```

Caused by #159, if this is intended behavior, documentation and version requirements should be updated to not say the dependency is against `>= 2.0`

### Expected Behavior

Resources deploy fine

### Steps to Reproduce

Try to use module with 4.x `aws` provider

### Screenshots

_No response_

### 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.