-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocals.tf
43 lines (41 loc) · 1005 Bytes
/
locals.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
locals {
account_id = data.aws_caller_identity.this.account_id
default_bucket_name = format("gds-export-%s", local.account_id)
bucket_name = coalesce(var.bucket_name, local.default_bucket_name)
export_fields = [
"AvailabilityZone",
"BilledCost",
"BillingCurrency",
"BillingPeriodEnd",
"BillingPeriodStart",
"ChargeCategory",
"ChargeClass",
"ChargeDescription",
"ChargeFrequency",
"ChargePeriodEnd",
"ChargePeriodStart",
"CommitmentDiscountCategory",
"CommitmentDiscountId",
"CommitmentDiscountStatus",
"CommitmentDiscountType",
"ConsumedQuantity",
"ConsumedUnit",
"ContractedCost",
"ContractedUnitPrice",
"EffectiveCost",
"InvoiceIssuerName",
"ListCost",
"ListUnitPrice",
"PricingCategory",
"PricingQuantity",
"PricingUnit",
"ProviderName",
"PublisherName",
"RegionName",
"ResourceType",
"ServiceCategory",
"ServiceName",
"SkuId",
"SkuPriceId",
]
}