_This issue was originally opened by @Stephan1984 as hashicorp/terraform#14313. It was migrated here as part of the provider split. The original body of the issue is below._
Hi there,
would be nice, to create AWS Budgets via terraform to monitor costs and resource usage. This is possible via API since Oct 20, 2016: https://aws.amazon.com/de/about-aws/whats-new/2016/10/new-aws-budgets-features-include-api-access-usage-based-budgets-and-more/
API Reference: http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/operations.html
Kind regards
Stephan
I've attached the service list in the same form AWS has them in JSON, e.g.
...
"CostFilters": {
"Service": [
"AWS CloudTrail"
]
}
...
The advantage of having this list - service names
Amazon AppStream
Amazon Athena
Amazon Chime
Amazon Cloud Directory
Amazon CloudFront
Amazon CloudSearch
Amazon Cognito
Amazon Cognito Sync
Amazon Connect
Amazon DynamoDB
Amazon EC2 Container Registry (ECR)
Amazon Elastic Compute Cloud
Amazon Elastic File System
Amazon Elastic MapReduce
Amazon Elastic Transcoder
Amazon ElastiCache
Amazon Elasticsearch Service
Amazon GameLift
Amazon Glacier
Amazon Inspector
Amazon Kinesis
Amazon Kinesis Analytics
Amazon Kinesis Firehose
Amazon Lex
Amazon Lightsail
Amazon Machine Learning
Amazon Mobile Analytics
Amazon Pinpoint
Amazon Polly
Amazon QuickSight
Amazon RDS Service
Amazon Redshift
Amazon Rekognition
Amazon Route 53
Amazon Simple Email Service
Amazon Simple Notification Service
Amazon Simple Queue Service
Amazon Simple Storage Service
Amazon Simple Workflow Service
Amazon SimpleDB
Amazon Virtual Private Cloud
Amazon WorkDocs
Amazon WorkSpaces
Amazon WorkSpaces Application Manager
Amazon Zocalo
AmazonCloudWatch
AmazonWorkMail
AWS Budgets
AWS CloudHSM
AWS CloudTrail
AWS CodeCommit
AWS CodeDeploy
AWS CodePipeline
AWS Config
AWS Data Pipeline
AWS Database Migration Service
AWS Device Farm
AWS Direct Connect
AWS Directory Service
AWS Greengrass
AWS Import/Export
AWS Import/Export Snowball
AWS IoT
AWS Key Management Service
AWS Lambda
AWS OpsWorks
AWS Service Catalog
AWS Shield
AWS Snowball Extra Days
AWS Step Functions
AWS Storage Gateway
AWS WAF
AWS X-Ray
CloudWatch Events
CodeBuild
Any news here? :) I would say that this feature is crucial if you have enterprise scale AWS infrastructure.
@xchapter7x Hey! I see that you've started working on this. Looking forward to see it in nearest release! Nice job 😎
@StyleT thanks.
The PR (https://github.com/terraform-providers/terraform-provider-aws/pull/1879) is just waiting on review/feedback from the hashicorp team.
Hope it adds value for the community :)
Hi Guys, do we have any preliminary date when we expect this implementation? Really need it :)
The new aws_bugdets_budget
resource has been merged in via #1879 and will release with v1.17.0 of the AWS provider in about two days.
This has been released in version 1.17.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
Issue around Budget notifications: #4548
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!
Most helpful comment
Any news here? :) I would say that this feature is crucial if you have enterprise scale AWS infrastructure.