Skip to content

Commit

Permalink
Merge pull request #1879 from xchapter7x/master
Browse files Browse the repository at this point in the history
New Resource: aws_budgets_budget
  • Loading branch information
bflad authored Apr 30, 2018
2 parents 7e91681 + 922acf1 commit f29a086
Show file tree
Hide file tree
Showing 6 changed files with 945 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aws/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
"github.com/aws/aws-sdk-go/service/athena"
"github.com/aws/aws-sdk-go/service/autoscaling"
"github.com/aws/aws-sdk-go/service/batch"
"github.com/aws/aws-sdk-go/service/budgets"
"github.com/aws/aws-sdk-go/service/cloud9"
"github.com/aws/aws-sdk-go/service/cloudformation"
"github.com/aws/aws-sdk-go/service/cloudfront"
Expand Down Expand Up @@ -223,6 +224,7 @@ type AWSClient struct {
mediastoreconn *mediastore.MediaStore
appsyncconn *appsync.AppSync
lexmodelconn *lexmodelbuildingservice.LexModelBuildingService
budgetconn *budgets.Budgets
}

func (c *AWSClient) S3() *s3.S3 {
Expand Down Expand Up @@ -423,6 +425,7 @@ func (c *Config) Client() (interface{}, error) {
}
}

client.budgetconn = budgets.New(sess)
client.acmconn = acm.New(awsAcmSess)
client.acmpcaconn = acmpca.New(sess)
client.apigateway = apigateway.New(awsApigatewaySess)
Expand Down
1 change: 1 addition & 0 deletions aws/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ func Provider() terraform.ResourceProvider {
"aws_autoscaling_notification": resourceAwsAutoscalingNotification(),
"aws_autoscaling_policy": resourceAwsAutoscalingPolicy(),
"aws_autoscaling_schedule": resourceAwsAutoscalingSchedule(),
"aws_budgets_budget": resourceAwsBudgetsBudget(),
"aws_cloud9_environment_ec2": resourceAwsCloud9EnvironmentEc2(),
"aws_cloudformation_stack": resourceAwsCloudFormationStack(),
"aws_cloudfront_distribution": resourceAwsCloudFrontDistribution(),
Expand Down
Loading

0 comments on commit f29a086

Please sign in to comment.