You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -68,8 +70,15 @@ We literally have [*hundreds of terraform modules*][terraform_modules] that are
68
70
## Usage
69
71
70
72
71
-
**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.
72
-
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-ec2-instance/releases).
73
+
**IMPORTANT:** We do not pin modules to versions in our examples because of the
74
+
difficulty of keeping the versions in the documentation in sync with the latest released versions.
75
+
We highly recommend that in your code you pin the version to the exact version you are
76
+
using so that your infrastructure remains stable, and update versions in a
77
+
systematic way so that they do not catch you by surprise.
78
+
79
+
Also, because of a bug in the Terraform registry ([hashicorp/terraform#21417](https://github.com/hashicorp/terraform/issues/21417)),
80
+
the registry shows many of our inputs as required when in fact they are optional.
81
+
The table below correctly indicates which inputs are required.
73
82
74
83
75
84
Note: add `${var.ssh_key_pair}` private key to the `ssh agent`.
@@ -80,7 +89,9 @@ Include this repository as a module in your existing terraform code.
0 commit comments