-
Notifications
You must be signed in to change notification settings - Fork 127
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
feat(instance): data source image #359
Conversation
1f12844
to
a91cb48
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -7,6 +7,9 @@ description: |- | |||
|
|||
# scaleway_image | |||
|
|||
**DEPRECATED**: This resource is deprecated and will be removed in `v2.0+`. | |||
Please use `scaleway_instance_image` instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or scaleway_marketplace_image
depending on your usage
|
||
# scaleway_instance_image | ||
|
||
Gets information about an instance image. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are looking for public image like oses, and ready-to-use application please have a look at scaleway_marketplace_image
datasource instead
```hcl | ||
// Get info by image name | ||
data "scaleway_instance_image" "my_image" { | ||
name = "ubuntu bionic" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't feature a use-case like ubuntu. These use-case should be cover by scaleway_marketplace_image
Use a name like my-image-name
close #276 |
No description provided.