Skip to content

Commit 1b5bff1

Browse files
committed
pull from registry in example
1 parent 39245ab commit 1b5bff1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

example/basic/main.tf

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ module "tags" {
2323
}
2424

2525
module "test_component" {
26-
source = "git::https://github.com/rhythmictech/terraform-aws-imagebuilder-component-ansible.git?ref=v0.1.0"
26+
source = "rhythmictech/imagebuilder-component-ansible/aws"
27+
version = "~> 0.1.0"
2728

2829
component_version = "1.0.0"
2930
description = "Testing component"
@@ -34,7 +35,8 @@ module "test_component" {
3435
}
3536

3637
module "test_recipe" {
37-
source = "git::https://github.com/rhythmictech/terraform-aws-imagebuilder-recipe.git?ref=v0.1.0"
38+
source = "rhythmictech/imagebuilder-recipe/aws"
39+
version = "~> 0.1.0"
3840

3941
description = "Testing recipe"
4042
name = "test-recipe"
@@ -51,7 +53,8 @@ module "test_recipe" {
5153
}
5254

5355
module "test_pipeline" {
54-
source = "../../"
56+
source = "rhythmictech/imagebuilder-pipeline/aws"
57+
version = "~> 0.1.0"
5558

5659
description = "Testing pipeline"
5760
name = "test-pipeline"

0 commit comments

Comments
 (0)