-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdata.tf
More file actions
30 lines (25 loc) · 816 Bytes
/
data.tf
File metadata and controls
30 lines (25 loc) · 816 Bytes
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
data "aws_caller_identity" "current" {}
data "aws_acm_certificate" "imported_cert" {
domain = "${var.environment}.${local.api_domain_name}"
types = ["IMPORTED"]
provider = aws.eu-west-2
key_types = ["RSA_4096"]
}
data "aws_acm_certificate" "validation_cert" {
domain = "${var.environment}.${local.api_domain_name}"
types = ["AMAZON_ISSUED"]
provider = aws.eu-west-2
key_types = ["RSA_2048"]
most_recent = true
}
data "aws_kms_alias" "networking_ssm_key" {
name = "alias/${var.environment}-Networking-ssm-parameters"
}
data "aws_ssm_parameter" "mtls_api_client_cert" {
name = "/${var.environment}/mtls/api_client_cert"
with_decryption = true
}
data "aws_ssm_parameter" "mtls_api_ca_cert" {
name = "/${var.environment}/mtls/api_ca_cert"
with_decryption = true
}