Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New resource: aws_pinpoint_app #5956

Merged
merged 14 commits into from
Sep 28, 2018
3 changes: 3 additions & 0 deletions aws/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ import (
"github.com/aws/aws-sdk-go/service/neptune"
"github.com/aws/aws-sdk-go/service/opsworks"
"github.com/aws/aws-sdk-go/service/organizations"
"github.com/aws/aws-sdk-go/service/pinpoint"
"github.com/aws/aws-sdk-go/service/pricing"
"github.com/aws/aws-sdk-go/service/rds"
"github.com/aws/aws-sdk-go/service/redshift"
Expand Down Expand Up @@ -239,6 +240,7 @@ type AWSClient struct {
budgetconn *budgets.Budgets
neptuneconn *neptune.Neptune
pricingconn *pricing.Pricing
pinpointconn *pinpoint.Pinpoint
}

func (c *AWSClient) S3() *s3.S3 {
Expand Down Expand Up @@ -563,6 +565,7 @@ func (c *Config) Client() (interface{}, error) {
client.appsyncconn = appsync.New(sess)
client.neptuneconn = neptune.New(sess)
client.pricingconn = pricing.New(sess)
client.pinpointconn = pinpoint.New(sess)

// Workaround for https://github.com/aws/aws-sdk-go/issues/1376
client.kinesisconn.Handlers.Retry.PushBack(func(r *request.Request) {
Expand Down
1 change: 1 addition & 0 deletions aws/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,7 @@ func Provider() terraform.ResourceProvider {
"aws_batch_compute_environment": resourceAwsBatchComputeEnvironment(),
"aws_batch_job_definition": resourceAwsBatchJobDefinition(),
"aws_batch_job_queue": resourceAwsBatchJobQueue(),
"aws_pinpoint_app": resourceAwsPinpointApp(),

// ALBs are actually LBs because they can be type `network` or `application`
// To avoid regressions, we will add a new resource for each and they both point
Expand Down
Loading