View Code? Open in Web Editor
NEW
Terraform module for Alibaba Cloud Billing export.
Home Page: https://registry.terraform.io/modules/IAmFrench/billing-export/alicloud/latest
License: Apache License 2.0
terraform-alicloud-billing-export's People
Contributors
Watchers
terraform-alicloud-billing-export's Issues
|
provisioner "local-exec" { |
|
command = "aliyun bssopenapi SubscribeBillToOSS --region ${self.input.region} --SubscribeBucket ${self.input.bucket_name} --SubscribeType ${self.input.bill_type} --BucketPath ${self.input.bill_type}" |
|
# The bssopenapi command is not yet available on Alibaba Cloud CLI for Linux |
|
interpreter = ["PowerShell", "-Command"] |
|
} |
|
provisioner "local-exec" { |
|
when = destroy |
|
command = "aliyun bssopenapi UnsubscribeBillToOSS --region ${self.input.region} --SubscribeType ${self.input.bill_type}" |
|
# The bssopenapi command is not yet available on Alibaba Cloud CLI for Linux |
|
interpreter = ["PowerShell", "-Command"] |
bssopenapi/SubscribeBillToOSS
is supported in the Alibaba Cloud CLI v3.0.121
Description
SubscribeType
set to MonthBill
should works as described in the Alibaba OpenAPI Portal to enable retrieval of monthly bills in the PDF format.
Note:
You can subscribe to the monthly PDF bills only of the master account.