Comments (8)
Ok, we'll work at updating the tasks so that if the updatestack or execchangeset operations fails with a 'no changes' error, we'll output a warning to the task log rather than causing the task to fail. I don't have an ETA right now, but shouldn't be too long.
from aws-toolkit-azure-devops.
The CreateOrUpdateStack task can perform the update using either a direct call to the service's UpdateStack API or by executing a change set. In both cases the task catches errors and inspects to see if it was due to a 'nothing to do' condition (which it has to do by inspecting the error message content). My guess is that in your case, the error messaging isn't getting trapped.
Can you post an example of the error message you are seeing when the update fails?
from aws-toolkit-azure-devops.
Hello,
this is the error from the build server
2017-10-11T17:52:13.2253391Z Waiting for change set a004 to be validated for stack rtx-dev01-stack-eu-west-1-s3
2017-10-11T17:52:13.4080809Z Request to create change set failed with error Stack a004 failed to create successfully from the change set. Error: Resource is not in the state changeSetCreateComplete Error: Stack a004 failed to create successfully from the change set. Error: Resource is not in the state changeSetCreateComplete
2017-10-11T17:52:13.4080809Z at Function.<anonymous> (d:\a\_tasks\CloudFormationCreateOrUpdateStack_7ef7cdfa-aa45-42c5-93c8-d7603643dd99\1.0.7\CloudFormationCreateOrUpdateStack.js:12267:23)
2017-10-11T17:52:13.4080809Z at throw (native)
2017-10-11T17:52:13.4090817Z at rejected (d:\a\_tasks\CloudFormationCreateOrUpdateStack_7ef7cdfa-aa45-42c5-93c8-d7603643dd99\1.0.7\CloudFormationCreateOrUpdateStack.js:11925:65)
2017-10-11T17:52:13.4090817Z at process._tickDomainCallback (internal/process/next_tick.js:135:7)
2017-10-11T17:52:13.4090817Z ##[error]Error: Stack a004 failed to create successfully from the change set. Error: Resource is not in the state changeSetCreateComplete
but this is the cfn stack error from the failed change set form the UI
Status:
FAILED - The submitted information didn't contain changes. Submit different information to create a change set.
from aws-toolkit-azure-devops.
Thanks. Are all of your stack updates being done using change sets?
from aws-toolkit-azure-devops.
Yup, they are, the idea is that if we make any changes to a template or param on our cicd branch we test it, deploying and exacate the change set to QA -->PreProd then Prod as a unexecuted change set ready for change control to approve.
from aws-toolkit-azure-devops.
@steveataws brill thanks very much !
i have it just now to 'continue on error' so i get a 'partial success' in orrange. that option realy should not be enabled and the task sequence should still pass as 'success' in green other wise you will also be checking the logs to see if its a real error or a no changes error.
Steve C
from aws-toolkit-azure-devops.
v1.0.8 has now been released which contains updates to the CloudFormation task to detect the no-changes condition and emit a warning, rather than failing the task.
Resolving issue; feel free to reopen if you still encounter issues.
from aws-toolkit-azure-devops.
@steveataws works perfectly HUGE thanks for a quick turn around !
from aws-toolkit-azure-devops.
Related Issues (20)
- Secrets Manager get secret task output not a valid json HOT 2
- AWS Service Connector
- Error when execute CLI actions using eu-south-2 region
- Pass a role ARN in runtime and use with service connection
- AWSShellScript: Keep original color when logging
- Running Terraform output command returns no result HOT 1
- S3 Upload use an endpoint
- S3 Upload Glob pattern STILL not finding files
- Azure DevOps Task 'AWS Tools for Windows PowerShell Script' - Ignore PS Module Check HOT 10
- Support for OIDC to authenticate without long lived credentials HOT 10
- Buidling code on master results in error when executing any task HOT 3
- Use s3ObjectKey or randomize S3 object name when uploading Cloudformation template
- Unable to push docker image on to amazon ECR
- AWS SSM Run Command issue with SNS Notifications
- Incompatible with IMDSv2 HOT 8
- LambdaNETCoreDeploy failing to upload to S3 with signature mismatch in version 5.8.1
- Task AWSCLI@1 fails on S3 cp command
- Ææ
- AccessDeniedException: Cross-account pass role is not allowed - but it's root account HOT 1
- ECRPushImage - Failed to obtain authorization token to log in to ECR, error: UnrecognizedClientException HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-toolkit-azure-devops.