Skip to content

Commit

Permalink
Merge pull request #7139 from terraform-providers/sagemaker-notebook-…
Browse files Browse the repository at this point in the history
…instance

Sagemaker notebook instance
  • Loading branch information
bflad authored Jan 16, 2019
2 parents a3f9437 + 44642f7 commit af1244b
Show file tree
Hide file tree
Showing 9 changed files with 995 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 @@ -94,6 +94,7 @@ import (
"github.com/aws/aws-sdk-go/service/route53"
"github.com/aws/aws-sdk-go/service/s3"
"github.com/aws/aws-sdk-go/service/s3control"
"github.com/aws/aws-sdk-go/service/sagemaker"
"github.com/aws/aws-sdk-go/service/secretsmanager"
"github.com/aws/aws-sdk-go/service/securityhub"
"github.com/aws/aws-sdk-go/service/servicecatalog"
Expand Down Expand Up @@ -205,6 +206,7 @@ type AWSClient struct {
apigateway *apigateway.APIGateway
appautoscalingconn *applicationautoscaling.ApplicationAutoScaling
autoscalingconn *autoscaling.AutoScaling
sagemakerconn *sagemaker.SageMaker
s3conn *s3.S3
s3controlconn *s3control.S3Control
secretsmanagerconn *secretsmanager.SecretsManager
Expand Down Expand Up @@ -585,6 +587,7 @@ func (c *Config) Client() (interface{}, error) {
client.rdsconn = rds.New(awsRdsSess)
client.redshiftconn = redshift.New(sess)
client.resourcegroupsconn = resourcegroups.New(sess)
client.sagemakerconn = sagemaker.New(sess)
client.simpledbconn = simpledb.New(sess)
client.s3conn = s3.New(awsS3Sess)
client.s3controlconn = s3control.New(awsS3ControlSess)
Expand Down
1 change: 1 addition & 0 deletions aws/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,7 @@ func Provider() terraform.ResourceProvider {
"aws_s3_bucket_notification": resourceAwsS3BucketNotification(),
"aws_s3_bucket_metric": resourceAwsS3BucketMetric(),
"aws_s3_bucket_inventory": resourceAwsS3BucketInventory(),
"aws_sagemaker_notebook_instance": resourceAwsSagemakerNotebookInstance(),
"aws_security_group": resourceAwsSecurityGroup(),
"aws_network_interface_sg_attachment": resourceAwsNetworkInterfaceSGAttachment(),
"aws_default_security_group": resourceAwsDefaultSecurityGroup(),
Expand Down
Loading

0 comments on commit af1244b

Please sign in to comment.