Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

d|r/cloud*: use service_name for identifier #173

Merged
merged 1 commit into from
Nov 30, 2020

Conversation

yanndegat
Copy link
Collaborator

No description provided.

@yanndegat yanndegat force-pushed the bigrefacto branch 2 times, most recently from 3a26591 to 776546e Compare November 27, 2020 10:11
Comment on lines 27 to 36
DefaultFunc: schema.EnvDefaultFunc("OVH_VRACK_ID", nil),
Description: "Id of the vrack. DEPRECATED, use `service_name` instead",
ConflictsWith: []string{"service_name"},
},
"service_name": {
Type: schema.TypeString,
Optional: true,
Computed: true,
ForceNew: true,
DefaultFunc: schema.EnvDefaultFunc("OVH_VRACK", nil),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it intended to have two different env vars OVH_VRACK_ID and OVH_VRACK here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And shouldn't it be OVH_VRACK_SERVICE?

Comment on lines 27 to 36
DefaultFunc: schema.EnvDefaultFunc("OVH_VRACK_ID", nil),
Description: "Id of the vrack. DEPRECATED, use `service_name` instead",
ConflictsWith: []string{"service_name"},
},
"service_name": {
Type: schema.TypeString,
Optional: true,
Computed: true,
ForceNew: true,
DefaultFunc: schema.EnvDefaultFunc("OVH_VRACK", nil),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as in ovh/resource_ovh_vrack_dedicated_server.go

@yanndegat yanndegat merged commit 5e6aef2 into ovh:master Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants