Skip to content

Commit

Permalink
feat: remove unused local and template providers (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
roock authored Jan 19, 2021
1 parent 8653658 commit 05c19a7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 23 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,15 @@ We literally have [*hundreds of terraform modules*][terraform_modules] that are
## Usage


**IMPORTANT:** The `master` branch is used in `source` just as an example. In your code, do not pin to `master` because there may be breaking changes between releases.
Instead pin to the release tag (e.g. `?ref=tags/x.y.z`) of one of our [latest releases](https://github.com/cloudposse/terraform-aws-ecr/releases).
**IMPORTANT:** We do not pin modules to versions in our examples because of the
difficulty of keeping the versions in the documentation in sync with the latest released versions.
We highly recommend that in your code you pin the version to the exact version you are
using so that your infrastructure remains stable, and update versions in a
systematic way so that they do not catch you by surprise.

Also, because of a bug in the Terraform registry ([hashicorp/terraform#21417](https://github.com/hashicorp/terraform/issues/21417)),
the registry shows many of our inputs as required when in fact they are optional.
The table below correctly indicates which inputs are required.


The module creates one or more Elastic Container Registry (ECR) repositories. All repositories created
Expand Down Expand Up @@ -128,8 +135,6 @@ Available targets:
|------|---------|
| terraform | >= 0.12 |
| aws | >= 3.1 |
| local | >= 1.2 |
| template | >= 2.0 |

## Providers

Expand Down Expand Up @@ -267,7 +272,7 @@ In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.

## Copyright

Copyright © 2017-2020 [Cloud Posse, LLC](https://cpco.io/copyright)
Copyright © 2017-2021 [Cloud Posse, LLC](https://cpco.io/copyright)



Expand Down
2 changes: 0 additions & 2 deletions docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
|------|---------|
| terraform | >= 0.12 |
| aws | >= 3.1 |
| local | >= 1.2 |
| template | >= 2.0 |

## Providers

Expand Down
8 changes: 0 additions & 8 deletions examples/complete/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,5 @@ terraform {
source = "hashicorp/aws"
version = ">= 3.1"
}
template = {
source = "hashicorp/template"
version = ">= 2.0"
}
local = {
source = "hashicorp/local"
version = ">= 1.2"
}
}
}
8 changes: 0 additions & 8 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,5 @@ terraform {
source = "hashicorp/aws"
version = ">= 3.1"
}
template = {
source = "hashicorp/template"
version = ">= 2.0"
}
local = {
source = "hashicorp/local"
version = ">= 1.2"
}
}
}

0 comments on commit 05c19a7

Please sign in to comment.