Skip to content
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ Big shout out to the following projects which this project uses/depends on/menti

```hcl
module "ssm_agent" {
source = "masterpointio/ssm-agent/aws"
version = "0.15.1"
stage = var.stage
namespace = var.namespace
source = "masterpointio/ssm-agent/aws"
version = "1.8.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if it makes sense to put something like "x.x.x" so it suggests to the consumer to take the latest version and pin it. CloudPosse does this (https://github.com/cloudposse/terraform-aws-s3-bucket) and we do as well in the Tailscale module (https://github.com/masterpointio/terraform-aws-tailscale/)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think x.x.x is a better solution to encourage/force users to look up the version numbers.


namespace = var.namespace
stage = var.stage

vpc_id = module.vpc.vpc_id
subnet_ids = module.subnets.private_subnet_ids
}
Expand All @@ -50,8 +52,9 @@ module "vpc" {
}

module "subnets" {
source = "cloudposse/dynamic-subnets/aws"
version = "2.3.0"
source = "cloudposse/dynamic-subnets/aws"
version = "2.3.0"

namespace = var.namespace
stage = var.stage

Expand Down