Giter Club home page Giter Club logo

Comments (3)

likexian avatar likexian commented on September 23, 2024

Yes, eip is detected as public ip, we now don't support update on allocate_public_ip.

from terraform-provider-tencentcloud.

zqfan avatar zqfan commented on September 23, 2024

@hiscal2015
Actually public ip created along with cloud virtual machine is not an EIP, it cannot be detached/unassociated with this instance, hence it is not allowed to be modified, this limit comes from API side.
If you have an EIP associated with the instance after its creation, you are in fact doing a association wihch should be managemented by a resource tencentcloud_eip_association.
The probem you are describing, is introduced by https://github.com/terraform-providers/terraform-provider-tencentcloud/pull/42 , which mixes too many codes in different resource, and we cannot catch this problem during code review process. A fix should be done to revert that change (https://github.com/terraform-providers/terraform-provider-tencentcloud/blame/master/tencentcloud/resource_tc_instance.go#L686) or be carefully deal with the logic.

from terraform-provider-tencentcloud.

likexian avatar likexian commented on September 23, 2024

This issue has been fixed, please remove the define of allocate_public_ip and retry.

from terraform-provider-tencentcloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.