# Modify/update existing resources with ansible?

**URL:** <https://forum.ansible.com/t/modify-update-existing-resources-with-ansible/30775>\
**Category:** Ansible Project\
**Tags:** vmware\
**Created:** [July 13, 2019, 3:19am UTC](https://forum.ansible.com/t/modify-update-existing-resources-with-ansible/30775 "2019-07-13T03:19:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angel\_Rengifo\_Cancin](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@Angel\_Rengifo\_Cancin](https://forum.ansible.com/u/Angel_Rengifo_Cancin)\
**Post date:** [July 13, 2019, 3:19am UTC](https://forum.ansible.com/t/modify-update-existing-resources-with-ansible/30775/1 "2019-07-13T03:19:25Z")

</div>

Hello guys:

I have some questions regarding existing resources management: can ansible change their attributes after creation?

For instance, I wasn’t able to change the network settings for an existing VM on VMware. Also, according to some Google searching, it seems that the instance type of an existing ec2 instance cannot be changed with ansible.

Is this because ansible is not stateful? With terraform am I able to achieve this.

So far, I’ve only been using ansible to create new resources, but not for updating them.

Hope someone can give me some guidance.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Jaya\_Nehru\_Kumar](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@Jaya\_Nehru\_Kumar](https://forum.ansible.com/u/Jaya_Nehru_Kumar)\
**Post date:** [July 14, 2019, 10:01am UTC](https://forum.ansible.com/t/modify-update-existing-resources-with-ansible/30775/2 "2019-07-14T10:01:57Z")

</div>

Hi ,

In the upcoming ansible 2.8 version , modules are available to support , but remember this is not stable version  
[https://docs.ansible.com/ansible/devel/modules/list\_of\_cloud\_modules.html#vmware](https://docs.ansible.com/ansible/devel/modules/list_of_cloud_modules.html#vmware)

[https://docs.microsoft.com/en-us/powershell/module/hyper-v/new-vm?view=win10-ps](https://docs.microsoft.com/en-us/powershell/module/hyper-v/new-vm?view=win10-ps)

The alternate solution would be invoking powershell modules from ansible

---

<div class="post-metadata">

**Author:** ![Angel\_Rengifo\_Cancin](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@Angel\_Rengifo\_Cancin](https://forum.ansible.com/u/Angel_Rengifo_Cancin)\
**Post date:** [July 14, 2019, 11:59pm UTC](https://forum.ansible.com/t/modify-update-existing-resources-with-ansible/30775/3 "2019-07-14T23:59:23Z")

</div>

Thanks, Jaya.

But, regardless of whether is VMware or AWS, isn’t it generally supported to modify an existing resource by using Ansible? Is it true that Ansible doesn’t keep track of the status of resources after its creation?
