Debian Codegraph @

samples/guestbook/aws/outputs.tf

raw
1 # Copyright 2018 The Go Cloud Development Kit Authors
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # https://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 output "region" {
16 value = var.region
17 description = "Region the resources were created in."
18 }
19
20 output "bucket" {
21 value = aws_s3_bucket.guestbook.id
22 description = "Name of the S3 bucket created to store images."
23 }
24
25 output "database_host" {
26 value = aws_db_instance.guestbook.address
27 description = "Host name of the RDS MySQL database."
28 }
29
30 output "database_root_password" {
31 value = random_string.db_password.result
32 sensitive = true
33 description = "Password for the root user of the RDS MySQL databse."
34 }
35
36 output "paramstore_var" {
37 value = var.paramstore_var
38 description = "Location of the SSM Parameter Store Message of the Day variable."
39 }
40
41 output "instance_host" {
42 value = aws_instance.guestbook.public_ip
43 description = "Address of the EC2 instance."
44 }
45