Last active
August 10, 2018 09:32
-
-
Save FRosner/852c3198e26c295ff024b0fce17acda4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
locals { | |
api-gateway-url = "${aws_api_gateway_deployment.example.invoke_url}/${aws_api_gateway_resource.example.path_part}" | |
} | |
resource "leanix_webhook_subscription" "example" { | |
identifier = "${local.project-name}-${substr(md5(substr(var.leanix_api_token, 0, 4)), 0, 8)}" | |
target_url = "${local.api-gateway-url}" | |
target_method = "POST" | |
active = true | |
workspace_id = "8751abbf-8093-410d-a090-10c7735952cf" | |
tag_set { | |
tags = ["pathfinder", "FACT_SHEET_CREATED"] | |
} | |
tag_set { | |
tags = ["pathfinder", "FACT_SHEET_DELETED"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment