blob: b64451917e1277e350cc573616dc9628eb5414f0 [file] [log] [blame]
# *****************************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License 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.
#
# ******************************************************************************
provider "google" {
version = "2.13.0"
credentials = var.credentials
project = var.gcp_project_id
region = var.region
zone = var.zone
}
/*
output "ssn_k8s_alb_dns_name" {
value = aws_lb.ssn_k8s_alb.dns_name
}
output "ssn_k8s_nlb_dns_name" {
value = aws_lb.ssn_k8s_nlb.dns_name
}
output "ssn_k8s_masters_ip_addresses" {
value = data.aws_instances.ssn_k8s_masters_instances.public_ips
depends_on = [data.aws_instances.ssn_k8s_masters_instances]
}
output "ssn_bucket_name" {
value = aws_s3_bucket.ssn_k8s_bucket.id
}
output "ssn_vpc_id" {
value = data.aws_vpc.ssn_k8s_vpc_data.id
}
output "ssn_subnet" {
# value = compact([data.aws_subnet.k8s-subnet-a-data.id, data.aws_subnet.k8s-subnet-b-data.id, local.subnet_c_id])
value = data.aws_subnet.k8s-subnet-a-data.id
}
output "ssn_k8s_sg_id" {
value = aws_security_group.ssn_k8s_sg.id
}
output "endpoint_eip_allocation_id" {
value = aws_eip.k8s-endpoint-eip.id
}
output "endpoint_eip_address" {
value = aws_eip.k8s-endpoint-eip.public_ip
}
output "ssn_keystore_password" {
value = random_string.ssn_keystore_password.result
}
output "endpoint_keystore_password" {
value = random_string.endpoint_keystore_password.result
}
output "region" {
value = var.region
}
output "service_base_name" {
value = var.service_base_name
}
output "env_os" {
value = var.env_os
}
output "ssn_k8s_masters_shape" {
value = var.ssn_k8s_masters_shape
}
output "zone" {
value = var.zone
}
output "tag_resource_id" {
value = var.tag_resource_id
}
*/