Coder Social home page Coder Social logo

Comments (4)

hnnasit avatar hnnasit commented on June 1, 2024

Hi @vandem9, thanks for reporting the issue. I tried setting the value to False/false and it creates the resource with an empty tag value as you mentioned, but when I set the values to True/true it sets the value to true. Let me bring this up with the team to see if this is expected behavior or a bug.

from serverless-application-model.

vandem9 avatar vandem9 commented on June 1, 2024

@hnnasit I forgot to mention that when I check this on non SAM specific resources like AWS::Logs::LogGroup or AWS::IAM::Role using the value False does not result in an empty value. Also when I check CloudTrail it looks like the api call to Lambda already has an empty value for the tag when using False. It would suggest that something is going wrong in the transform process of SAM resources to Cloudformation/actual resources. Hopes this helps.

from serverless-application-model.

hnnasit avatar hnnasit commented on June 1, 2024

Thanks for the insights @vandem9! You're right, this could be happening during SAM transform. I tried to create tags using a regular Lambda Function and the tag value for False was false. Let me transfer this issue to the SAM team to investigate further.

from serverless-application-model.

ConnorRobertson avatar ConnorRobertson commented on June 1, 2024

The PR has been merged so closing this issue, please let us know if this issue persists.

from serverless-application-model.

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.