Giter VIP home page Giter VIP logo

Comments (3)

apparentlymart avatar apparentlymart commented on August 29, 2024 4

Hi @ayashjorden,

This was an intentional change of behavior in the 2.0.0 major release of the template provider in order to introduce the for and if constructs.

To retain the old behavior, you can add a version constraint to your configuration as recommended by terraform init:

provider "template" {
  version = "~> 1.0"
}

Alternatively, you can escape the sequence by doubling the percent sign, giving %%{http_code}.

For more information on what changed in the 2.0.0 release, see the changelog.

from terraform-provider-template.

fabouya avatar fabouya commented on August 29, 2024 3

Hi,
double escaping does not work :
Error message : "http_code" is not a valid template control keyword
template : CODE=curl --output join.sh --silent -w "%%{http_code}" "http://${MASTERIP}/join.txt"
Provider for Openstack v "2.0.0"

from terraform-provider-template.

mayurva avatar mayurva commented on August 29, 2024 1

For anyone who stumbles onto this in future, escaping with %% worked for me

from terraform-provider-template.

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.