# ------------------------------------------------------------------------ # Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located at # # http://www.apache.org/licenses/LICENSE-2.0 # # or in the "license" file accompanying this file. This file is distributed # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either # express or implied. See the License for the specific language governing # permissions and limitations under the License. # ------------------------------------------------------------------------- output "aoc_vpc_id" { value = data.aws_vpc.aoc_vpc.id } output "aoc_private_subnet_ids" { value = data.aws_subnet_ids.aoc_private_subnet_ids.ids } output "aoc_public_subnet_ids" { value = data.aws_subnet_ids.aoc_public_subnet_ids.ids } output "aoc_security_group_id" { value = data.aws_security_group.aoc_security_group.id } output "aoc_iam_role_arn" { value = data.aws_iam_role.aoc_iam_role.arn } output "otconfig_content" { value = local.rendered_template } output "mocked_server_cert_content" { value = data.template_file.mocked_server_cert.rendered } output "sample_app_image_repo" { value = data.aws_ecr_repository.sample_apps.repository_url } output "sample_app_image" { value = "${data.aws_ecr_repository.sample_apps.repository_url}:${var.sample_app}-latest" } output "mocked_server_image" { value = "${data.aws_ecr_repository.mocked_servers.repository_url}:${var.mocked_server}-latest" } output "random_subnet_instance_id" { value = local.random_instance_subnet_id }