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

Required fields on resource rightscale_server instance should be optional #17

Open
douglaswth opened this issue May 10, 2019 · 0 comments

Comments

@douglaswth
Copy link
Contributor

When specifying the instance portion of a rightscale_server resource, the image_href, instance_type_href, and name keys should not be required since they should either inherit from the ServerTemplate defaults in the case of image_href and instance_type_href or from the rightscale_server resource in the case of the name key since it is already required there.

resource "rightscale_server" "web_server" {
  name = "Web Server"
  ...
  instance {
    name = "Web Server"
    ...
  }
}
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