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

Update aws cdk to v0.32.0 #52

Merged
merged 3 commits into from
May 30, 2019
Merged

Update aws cdk to v0.32.0 #52

merged 3 commits into from
May 30, 2019

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 24, 2019

This PR contains the following updates:

Package Type Update Change References
@​aws-cdk/assert devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/assets devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/assets-docker devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-applicationautoscaling devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-autoscaling devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-autoscaling-api devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-autoscaling-common devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-certificatemanager devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-cloudformation devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-cloudwatch devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-ec2 devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-ecr devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-ecs devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-ecs peerDependencies minor [`^0.27.0
@​aws-cdk/aws-elasticloadbalancing devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-elasticloadbalancingv2 devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-events devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-iam devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-kms devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-lambda devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-logs devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-route53 devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-s3 devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-s3-notifications devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-secretsmanager devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-servicediscovery devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-sns devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-sqs devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/aws-stepfunctions devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/cdk devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/cdk peerDependencies minor [`^0.27.0
@​aws-cdk/cx-api devDependencies minor 0.31.0 -> 0.32.0 source
@​aws-cdk/region-info devDependencies minor 0.31.0 -> 0.32.0 source

Release Notes

awslabs/aws-cdk

v0.32.0

Compare Source

Bug Fixes
Code Refactoring
Features
BREAKING CHANGES
  • route53-targets: using a CloudFront Distribution or an ELBv2
    Load Balancer as an Alias Record Target now requires an integration
    object from the @aws-cdk/aws-route53-targets package.
  • s3: The IBucket.arnForObject method no longer
    concatenates path fragments on your behalf. Pass the /-concatenated
    key pattern instead.
  • All export methods from all AWS resources have been removed. CloudFormation Exports are now automatically created when attributes are referenced across stacks within the same app. To export resources manually, you can explicitly define a CfnOutput.
  • kms: kms.EncryptionKey renamed to kms.Key
  • ec2: ec2.VpcNetwork renamed to ec2.Vpc
  • ec2: ec2.VpcSubnet renamed to ec2.Subnet
  • cloudtrail: cloudtrail.CloudTrail renamed tocloudtrail.Trail`
  • Deleted a few XxxAttribute and XxxImportProps interfaces which were no longer in used after their corresponding export method was deleted and there was no use for them in imports.
  • ecs: ecs.ClusterAttributes now accepts IVpc and ISecurityGroup instead of attributes. You can use their
    corresponding fromXxx methods to import them as needed.
  • servicediscovery: servicediscovery.CnameInstance.instanceCname renamed to cname.
  • glue: glue.IDatabase.locationUrl is now only in glue.Database (not on the interface)
  • ec2: ec2.TcpPortFromAttribute and UdpPortFromAttribute removed. Use TcpPort and UdpPort with new Token(x).toNumber instead.
  • ec2: ec2.VpcNetwork.importFromContext renamed to ec2.Vpc.fromLookup
  • iam: iam.IRole.roleId has been removed from the interface, but Role.roleId is still available for owned resources.
  • codedeploy: the type of the loadBalancer property in ServerDeploymentGroupProps has been changed.
  • apigateway: apigateway.ResourceBase.trackChild is now internal.
  • cloudfront: cloudfront.S3OriginConfig.originAccessIdentity is now originAccessIdentityId
  • codedeploy: codedeploy.LambdaDeploymentGroup.alarms is now cloudwatch.IAlarm[] (previously cloudwatch.Alarm[])
  • codepipeline: codepipeline.crossRegionScaffoldingStacks renamed to crossRegionScaffolding
  • codepipeline: codepipeline.CrossRegionScaffoldingStack renamed to codepipeline.CrossRegionScaffolding and cannot be instantiated (abstract)
  • ec2: ec2.VpcSubnet.addDefaultRouteToNAT renamed to addDefaultNatRoute and made public
  • ec2: ec2.VpcSubnet.addDefaultRouteToIGW renamed to addDefaultInternetRoute, made public and first argument is the gateway ID (string) and not the CFN L1 class
  • ecs: ecs.Ec2EventRuleTarget.taskDefinition is now ITaskDefinition (previously TaskDefinition)
  • lambda: lambda.IEventSource.bind now accepts IFunction instead of FunctionBase. Use IFunction.addEventSourceMapping to add an event source mapping under the function.
  • lambda: lambda.Layer.grantUsage renamed to lambda.layer.addPermission and returns void
  • stepfunctions: stepfunctions.StateMachine.role is now iam.IRole (previously iam.Role)
  • cloudwatch-events: the events API has been significantly re-worked
    • ⚠️ This new API is still being discussed (see #​2609) and might change again in the next release!
    • All onXxx() CloudWatch Event methods now have the signature:
      resource.onEvent('SomeId', {
          target: new SomeTarget(...),
          // options
      });
    • CloudWatch:
      • onAlarm was renamed to addAlarmAction
      • onOk was renamed to addOkAction
      • onInsufficientData was renamed to addInsufficientDataAction
    • AutoScaling:
      • onLifecycleTransition was renamed to addLifecycleHook
    • LambdaDeploymentGroup
      • onPreHook was renamed to addPreHook
      • onPostHook was renamed to addPostHook
    • UserPool:
      • all onXxx were renamed to addXxxTrigger
    • Repository:
      • onImagePushed was renamed to onCloudTrailImagePushed
    • Bucket:
      • onEvent was renamed to addEventNotification
      • onObjectCreated was renamed to addObjectCreatedNotification
      • onObjectRemoved was renamed to addObjectRemovedNotification
      • onPutObject was renamed to onCloudTrailPutObject

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

@renovate renovate bot force-pushed the renovate/aws-cdk branch 2 times, most recently from 3916e87 to b781f34 Compare May 24, 2019 11:10
@renovate renovate bot force-pushed the renovate/aws-cdk branch from b781f34 to 98b9c36 Compare May 24, 2019 13:33
@renovate
Copy link
Author

renovate bot commented May 30, 2019

PR has been edited

👷 This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.

"@aws-cdk/aws-cloudformation": "0.31.0",
"@aws-cdk/aws-cloudwatch": "0.31.0",
"@aws-cdk/aws-codedeploy-api": "0.31.0",
"@aws-cdk/aws-codepipeline-api": "0.28.0",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deprecated.
https://www.npmjs.com/package/@aws-cdk/aws-codepipeline-api
(We might depend on @aws-cdk/aws-codepipeline-actions instead of this from author message, but I just removed since yarn never complains about its absence.)

"@aws-cdk/aws-certificatemanager": "0.31.0",
"@aws-cdk/aws-cloudformation": "0.31.0",
"@aws-cdk/aws-cloudwatch": "0.31.0",
"@aws-cdk/aws-codedeploy-api": "0.31.0",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"@aws-cdk/cdk": "^0.27.0 || ^0.28.0 || ^0.29.0 || ^0.30.0 || ^0.31.0"
"@aws-cdk/aws-ecs": "^0.32.0",
"@aws-cdk/cdk": "^0.32.0",
"@aws-cdk/aws-route53-targets": "^0.32.0"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning " > @aws-cdk/aws-ecs@0.32.0" has unmet peer dependency "@aws-cdk/aws-route53-targets@^0.32.0".
warning "@aws-cdk/aws-ecs > @aws-cdk/aws-route53-targets@0.32.0" has unmet peer dependency "@aws-cdk/aws-cloudfront@^0.32.0".

@@ -103,14 +94,6 @@ Object {
"Essential": true,
"Image": "mackerel/mackerel-container-agent:latest",
"Links": Array [],
"LinuxParameters": Object {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -132,7 +115,6 @@ Object {
],
"Family": "TaskDefinition",
"NetworkMode": "bridge",
"PlacementConstraints": Array [],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aws/aws-cdk#1646

(I think this p-r title/ description isn't kind enough. I never imagined it introduces output change to pure ECS stacks...)

@astj astj requested a review from aereal May 30, 2019 02:11
@astj
Copy link
Collaborator

astj commented May 30, 2019

@aereal Hi, I just updated this p-r to pass CI and clean-upped package.json a bit. Can you please review this?

Copy link
Owner

@aereal aereal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM

@aereal aereal merged commit d19c1c6 into master May 30, 2019
@aereal aereal deleted the renovate/aws-cdk branch May 30, 2019 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants