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

New data source azurerm_images #8629

Merged

Conversation

ArcturusZhang
Copy link
Contributor

@ArcturusZhang ArcturusZhang commented Sep 25, 2020

Partially helps #8417

Copy link
Contributor

@manicminer manicminer left a comment

Choose a reason for hiding this comment

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

Hi @ArcturusZhang, thanks for this PR!

Overall this looks great and I have just a few minor suggestions, however I'm not convinced that it addresses the linked issue? Could you look at adding the tags_filter attribute to the azurerm_image resource too?

azurerm/internal/services/compute/images_data_source.go Outdated Show resolved Hide resolved
azurerm/internal/services/compute/images_data_source.go Outdated Show resolved Hide resolved
azurerm/internal/services/compute/images_data_source.go Outdated Show resolved Hide resolved
azurerm/internal/services/compute/images_data_source.go Outdated Show resolved Hide resolved
azurerm/internal/services/compute/images_data_source.go Outdated Show resolved Hide resolved
azurerm/internal/services/compute/images_data_source.go Outdated Show resolved Hide resolved
@ArcturusZhang
Copy link
Contributor Author

ArcturusZhang commented Oct 23, 2020

Hi @manicminer thanks for the review. I will get the comments resolved soon.

And to clarify,

Could you look at adding the tags_filter attribute to the azurerm_image resource too?

Do you mean that we need to add tags_filter to the azurerm_image data source?

@manicminer
Copy link
Contributor

Do you mean that we need to add tags_filter to the azurerm_image data source?

Sorry, that is indeed what I meant :)

@ArcturusZhang
Copy link
Contributor Author

Hi @manicminer I have made some changes, please have a look.

I do not think we should do too many things in one PR, therefore I might create another PR to add tags_filter for the azurerm_image data source. And I changed the description so that this PR will not close the coresponding issue.

Copy link
Contributor

@manicminer manicminer left a comment

Choose a reason for hiding this comment

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

@ArcturusZhang This looks good to me, just one small change needed for tests to pass and then we can get this merged. Thanks!

@ArcturusZhang
Copy link
Contributor Author

Hi @manicminer I have resolved the comment, could you please have a look again? thanks

@manicminer
Copy link
Contributor

Test results:

Screenshot 2020-11-02 at 12 46 36

@manicminer manicminer added this to the v2.35.0 milestone Nov 2, 2020
@manicminer manicminer merged commit a7157e4 into hashicorp:master Nov 2, 2020
manicminer added a commit that referenced this pull request Nov 2, 2020
@ArcturusZhang ArcturusZhang deleted the data-source-azurerm-images branch November 3, 2020 08:19
@ghost
Copy link

ghost commented Nov 5, 2020

This has been released in version 2.35.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 2.35.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Dec 2, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Dec 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants