Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Safe Tag Propagation for Compute and Storage in Oracle Cloud Infrastructure (OCI)

I contributed to the OCI Instance to Volume Tag Sync (Safe Mode) project by enhancing and validating a Python-based automation script that ensures consistent tag propagation between compute instances and their attached storage resources in Oracle Cloud Infrastructure (OCI). My contribution focused on maintaining safe, non-destructive tag synchronization by ensuring that only selected freeform tags (environment, application) are copied from a compute instance to its boot and attached block volumes—without overwriting any existing metadata. I helped reinforce the script’s safety-first design (single compartment, single instance scope, no recursion, no bulk updates), improved clarity around IAM permission requirements, and validated behavior for production-safe execution. This solution helps organizations improve cost tracking, governance, environment segregation (dev/uat/prod), and audit readiness while preserving existing operational metadata on storage resources.

https://github.com/sayeedamodi/oci_tags_copy

Comments
Post Details
Added on Apr 6 2026
0 comments
47 views