Updating Variables for a Stack (Import)

Update the variable values used by a stack in Resource Manager through importing a JSON file.

This task can be performed in the Console only.

See also Updating Variables for a Stack (Manual).

Note

  • The file used for import must be a JSON file.
  • Variable definitions in .tfvars files take precedence over imported variables, and are thus unaffected by imported variables. Other variables in the stack are overridden by imported variables.

When you update a stack, you can also update its tags. For instructions, see Updating a Tag for a Single Resource. For more information about tagging, see Resource Tags.

  1. On the Stacks list page, find the stack that you want to work with. If you need help finding the list page or the stack, see Listing Stacks.
  2. Select Variables.
  3. Select Import Variables.
  4. In the Import Variables dialog box, select the JSON file that contains the variables that you want to import into the stack.
    You can either drag the file onto the dialog's control or select Browse and navigate to the location of the file or folder.
  5. Select Import.
    The Edit stack panel opens to the section containing variables. Variable values are updated based on the imported JSON file.
  6. Select Next.
  7. In the Review panel, verify the stack configuration.
  8. Select Save changes.