Git Product home page Git Product logo

Comments (1)

suhasbshekar avatar suhasbshekar commented on September 3, 2024

Question 1: Can we tag on Fabric Pool via Terraform?

As of my last update, Terraform's NetApp Cloud Manager provider does not explicitly support tagging Google Cloud Storage buckets used as Fabric Pools directly through the Terraform configuration for CVO deployments. Fabric Pools are utilized within NetApp CVO to tier cold data to Google Cloud Storage, but the management of tags directly through Terraform for these specific resources isn't provided out-of-the-box.

Question 2: Can we tag on Google Cloud Storage manually?

Yes, you can apply tags manually to Google Cloud Storage buckets through the Google Cloud Console or using the gcloud command-line tool.

These tags (also referred to as labels in GCP) can help you with cost allocation and management.
To add a label to a Google Cloud Storage bucket, you can use the following gcloud command:

gcloud storage buckets update [BUCKET_NAME] --update-labels=[KEY]=[VALUE]

Replace [BUCKET_NAME], [KEY], and [VALUE] with your bucket's name and the label key-value pair you wish to apply.

Question 3: If we tag on Google Cloud Storage manually, does it affect the system or Terraform code?

Tagging Google Cloud Storage buckets manually does not directly affect the operation of the system or the Terraform code used to deploy NetApp CVO. However, you should be aware of a few considerations:

State Management: Terraform manages state based on the configuration files and the resources it creates. If you manually add tags to a bucket that Terraform is managing (like those associated with a Fabric Pool), Terraform wonโ€™t recognize these changes unless they are imported into its state or reflected in the Terraform configuration. (I need to try in my GCP PoC)
Configuration Drift: Manual changes can lead to configuration drift (As we know ), where the actual state of the environment differs from the state known to Terraform. This can be problematic if Terraform attempts to manage or reconfigure those resources later.

For Best Practice:

If you decide to manually tag resources managed by Terraform, itโ€™s a good practice to consistently manage these tags outside of Terraform to prevent potential configuration conflicts or drift.

from terraform-provider-netapp-cloudmanager.

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.