-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
70 lines (57 loc) · 2.41 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
output "aws_access_key" {
value = local.create_iam_user ? aws_iam_access_key.this[0].id : var.aws_access_key
description = "AWS Access Key"
}
output "aws_secret_key" {
value = local.create_iam_user ? aws_iam_access_key.this[0].secret : var.aws_secret_key
sensitive = true
description = "AWS Secret Key"
}
output "aws_iam_user_name" {
value = local.create_iam_user ? aws_iam_user.this[0].name : ""
description = "Created AWS User name"
}
output "aws_iam_user_arn" {
value = local.create_iam_user ? aws_iam_user.this[0].arn : ""
description = "The ARN assigned by AWS for the created IAM User"
}
output "aws_iam_user_id" {
value = local.create_iam_user ? aws_iam_user.this[0].unique_id : ""
description = "The ID assigned by AWS for the created IAM User"
}
output "aws_iam_vpc_site_policy_arn" {
value = local.create_iam_user ? aws_iam_policy.vpc_site[0].arn : ""
description = "Created AWS IAM VPC Site Policy arn"
}
output "aws_iam_tgw_site_policy_arn" {
value = local.create_iam_user && var.create_aws_tgw_iam ? aws_iam_policy.tgw_site[0].arn : ""
description = "Created AWS IAM TGW Site Policy arn"
}
output "aws_iam_directconnect_policy_arn" {
value = local.create_iam_user && var.create_direct_connect_iam ? aws_iam_policy.directconnect[0].arn : ""
description = "Created AWS IAM DirectConnect Policy arn"
}
output "aws_iam_vpc_site_policy_name" {
value = local.create_iam_user ? aws_iam_policy.vpc_site[0].name : ""
description = "Created AWS IAM VPC Site Policy name"
}
output "aws_iam_tgw_site_policy_name" {
value = local.create_iam_user && var.create_aws_tgw_iam ? aws_iam_policy.tgw_site[0].name : ""
description = "Created AWS IAM TGW Site Policy name"
}
output "aws_iam_directconnect_policy_name" {
value = local.create_iam_user && var.create_direct_connect_iam ? aws_iam_policy.directconnect[0].name : ""
description = "Created AWS IAM DirectConnect Policy name"
}
output "name" {
value = volterra_cloud_credentials.this.name
description = "Created XC Cloud Credentials name"
}
output "namespace" {
value = volterra_cloud_credentials.this.namespace
description = "The namespace in which the XC Cloud Credentials is created"
}
output "id" {
value = volterra_cloud_credentials.this.id
description = "ID of the XC Cloud Credentials"
}