Update an InfluxDB stack

This page documents an earlier version of InfluxDB. InfluxDB v2.6 is the latest stable version. View this page in the v2.6 documentation.

Use the influx apply command to update a stack with a modified template. When applying a template to an existing stack, InfluxDB checks to see if the resources in the template match existing resources. InfluxDB updates, adds, and removes resources to resolve differences between the current state of the stack and the newly applied template.

Each stack is uniquely identified by a stack ID. For information about retrieving your stack ID, see View stacks.

Provide the following:

  • Organization name or ID
  • Stack ID
  • InfluxDB template URLs to apply
influx apply \
  -o example-org \
  -u \
  -u \

Template resources are uniquely identified by their field. If errors occur when applying changes to a stack, all applied changes are reversed and the stack is returned to its previous state.

Was this page helpful?

Thank you for your feedback!

Set your InfluxDB URL

Linux Package Signing Key Rotation

All signed InfluxData Linux packages have been resigned with an updated key. If using Linux, you may need to update your package configuration to continue to download and verify InfluxData software packages.

For more information, see the Linux Package Signing Key Rotation blog post.

State of the InfluxDB Cloud (IOx) documentation

The new documentation for InfluxDB Cloud backed by InfluxDB IOx is a work in progress. We are adding new information and content almost daily. Thank you for your patience!

If there is specific information you’re looking for, please submit a documentation issue.