Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JorritSalverda/0ed5eebe2ed2e52404af7d5707a3c101 to your computer and use it in GitHub Desktop.
Save JorritSalverda/0ed5eebe2ed2e52404af7d5707a3c101 to your computer and use it in GitHub Desktop.
There are warnings and/or errors related to your configuration. Please
fix these before continuing.
Warnings:
* google_compute_network.network: "ipv4_range": [DEPRECATED] Please use google_compute_subnetwork
resources instead.
No errors found. Continuing with 1 warning(s).
template_file.template_file: Refreshing state... (ID: 1d7d12f462bccbc447fd7c5143e43de08dc53c5bbc093432319b02b7731dba20)
google_compute_instance_group_manager.instance_group_manager: Refreshing state... (ID: instance-group-manager)
google_compute_network.network: Refreshing state... (ID: network)
google_compute_instance_template.instance_template: Refreshing state... (ID: instance-template)
google_compute_instance_template.instance_template: Destroying...
Error applying plan:
1 error(s) occurred:
* google_compute_instance_template.instance_template: Error deleting instance template: googleapi:
Error 400: The instance_template resource 'instance-template' is already being used by '
instance-group-manager', resourceInUseByAnotherResource
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment