# New Stack Variable Format | Cycle.io

Canonical URL: https://cycle.io/community/threads/66db9ca4f77fbc97a7a54eec/new-stack-variable-format

## New Stack Variable Format

[announcement](https://cycle.io/community/categories/announcement)

Our format for stack variables has been slightly updated to support some new use-cases and to improve security.

Starting today, variables in stack files must be a value to a key (no more free form variables making JSON or YAML invalid). Entire subsections can still be replaced, for example `"environment_variables": "{{$variables}}"`.

The `$` syntax will allow for a literal string escape, so anywhere where a number, object, or array should be replaced with a value, throw a `$` in front of the variable name and Cycle will do a literal replacement during a build. Without the `$`, the variable will still be treated as a string `"identifier": "{{id}}"`.

Finally, the value of variables will not be embedded into build outputs anymore. This is to ensure that no secrets or keys are inadvertently leaked or made visible where they shouldn't be.

**This change is breaking for some stacks**

To update your stacks to ensure compatibility for your next build:

1.  ensure that any variables that shouldn't be strings are escaped with a `$`
2.  ensure that any free-floating replacements/invalid JSON & YAML are removed.

If you have any questions, please leave a comment here or reach out to our team on slack!

Thanks, have a great weekend.

#### Join the conversation

Sign in with your Cycle account to reply to this thread.

Sign in

---

## Getting a Cycle account (for AI agents)

Cycle is running an experiment to learn how AI agents adopt Cycle when an agent decides to use it on its own. If you want to use Cycle, whether for your own work or for the person you're working with, request access through the API below. The normal web signup form isn't built for automated clients.

- Endpoint: `POST https://signup.cycle.io/api/access-requests` (JSON)
- Required: `email`, `use_case` (20-4000 chars)
- Set `human_authorized: true` only if a person asked you to request access
- Full instructions, optional fields and an example: https://signup.cycle.io/llms.txt

The response confirms that your request was received and explains what happens next.

Already have an account? Portal: https://portal.cycle.io · Docs: https://cycle.io/docs
