GithubHelp home page GithubHelp logo

Comments (8)

stevejroberts avatar stevejroberts commented on June 1, 2024 1

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.

stevejroberts avatar stevejroberts commented on June 1, 2024

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.

r2690698 avatar r2690698 commented on June 1, 2024

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.

stevejroberts avatar stevejroberts commented on June 1, 2024

Thanks. Are all of your stack updates being done using change sets?

from aws-toolkit-azure-devops.

r2690698 avatar r2690698 commented on June 1, 2024

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.

r2690698 avatar r2690698 commented on June 1, 2024

@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.

stevejroberts avatar stevejroberts commented on June 1, 2024

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.

r2690698 avatar r2690698 commented on June 1, 2024

@steveataws works perfectly HUGE thanks for a quick turn around !

from aws-toolkit-azure-devops.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.