Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Feb 27, 2026
1 parent c19d55e commit 01dca67
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/ec2/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module "ec2" {
# Service Catalog configuration
portfolio_id = var.portfolio_id
product_id = var.product_id
# path_id = data.aws_servicecatalog_product.ec2_product.id
path_id = var.path_id
accept_language = var.accept_language
timeout = var.timeout
ignore_errors = var.ignore_errors
Expand Down
3 changes: 2 additions & 1 deletion modules/product/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ data "aws_servicecatalog_provisioning_artifacts" "this" {

# Data source to get the product and its valid paths
data "aws_servicecatalog_launch_paths" "product" {
product_id = var.product_id
product_id = var.product_id
region = local.region
}
2 changes: 1 addition & 1 deletion modules/product/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resource "aws_servicecatalog_provisioned_product" "this" {
product_id = local.product_id
provisioning_artifact_id = local.provisioning_artifact_id
region = local.region
path_id = data.aws_servicecatalog_launch_paths.product.id
path_id = var.path_id
accept_language = var.accept_language
ignore_errors = var.ignore_errors
notification_arns = var.notification_arns
Expand Down

0 comments on commit 01dca67

Please sign in to comment.