Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Azure create-infrastructure terraform warnings #366

Open
dtzar opened this issue Oct 17, 2018 · 1 comment
Open

Azure create-infrastructure terraform warnings #366

dtzar opened this issue Oct 17, 2018 · 1 comment

Comments

@dtzar
Copy link

dtzar commented Oct 17, 2018

Issue

Many warnings happen from updates to the underlying azure terraform provider when running the create-infrastructure task to install/deploy PCF on Azure.
The provider version for template has an unnecessary warning.

Context

Annoying long scroll of warnings output and potentially breaking in future azure provider versions.

Expected result

No warnings.

Current result

Warning: azurerm_lb_rule.tcp-rule[0]: "location": [DEPRECATED] location is no longer used

The following providers do not have any version constraints in configuration,
so the latest version was installed.

To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.

* provider.template: version = "~> 1.0"

Steps to Reproduce

Run the create-infrastructure task.

Possible Fix

I have fixed these problems already, PR to come.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants