Code Monkey home page Code Monkey logo

aws-parsecf's People

Contributors

bar-sc avatar odedniv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aws-parsecf's Issues

Fn::Sub replace error

replace() argument 2 must be str, not bool

The issue is happening when the bool is being replaced AS IS.
Here is an example
VARIABLES: {'Param1': 'http://proxy.xxxxx.com', 'Param2': 'http://proxy.xxxxx.com', 'Param3': '127.0.0.1,localhost,instance-data,xxx.xxxx.xxx.xxx,.elb.amazonaws.com,.verizon.com,.ebiz.verizon.com,oneartifactory.verizon.com', '_exploded': True}
name: Param1 VALUE: sed -i 's#Starting cfn-hup: "#Starting cfn-hup: "\n export https_proxy=${Param1} http_proxy=${Param2} no_proxy=${Param3}\n#' /etc/init.d/cfn-hup target: http://proxy.xxxx.com TYPE: <class 'str'>
name: Param2 VALUE: sed -i 's#Starting cfn-hup: "#Starting cfn-hup: "\n export https_proxy=http://proxy.xxxx.com http_proxy=${Param2} no_proxy=${Param3}\n#' /etc/init.d/cfn-hup target: http://proxy.xxx.com TYPE: <class 'str'>
name: Param3 VALUE: sed -i 's#Starting cfn-hup: "#Starting cfn-hup: "\n export https_proxy=http://proxy.xxx.com http_proxy=http://proxy.xxx.com no_proxy=${Param3}\n#' /etc/init.d/cfn-hup target: 127.0.0.1,localhost,instance-data,xxx.xxx.xxx.xxx,.elb.amazonaws.com,.xxx.com,.xxx.com,oneartifactory.xxx.com TYPE: <class 'str'>
name: _exploded VALUE: sed -i 's#Starting cfn-hup: "#Starting cfn-hup: "\n export https_proxy=http://proxy.xxx.com http_proxy=http://proxy.xxx.com no_proxy=127.0.0.1,localhost,instance-data,xxx.xxx.xxx.xxx,.elb.amazonaws.com,.xxx.com,.xxx.com,oneartifactory.xxx.com\n#' /etc/init.d/cfn-hup target: True TYPE: <class 'bool'>
ERRORS: ERROR: internal exception in aws_parsecf caused issue while parsing the template file!! - replace() argument 2 must be str, not bool
I have a solution for it that I have tested.

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.