Last active
December 2, 2021 07:40
-
-
Save lucasjellema/5e9d01888c1dca8abf24990cdd4ec632 to your computer and use it in GitHub Desktop.
terraform-oci-query-functions-in-application
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
variable "application_name" { default = "cloudnative-2021App"} | |
data "oci_functions_applications" "function_applications" { | |
compartment_id = var.compartment_id | |
display_name = "${var.application_name}" | |
} | |
data "oci_functions_functions" "application_functions" { | |
application_id = data.oci_functions_applications.function_applications.applications[0].id | |
} | |
output "functions_in_application" { | |
value = data.oci_functions_functions.application_functions.functions | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment