Skip to content

Conversation

alextmeyer
Copy link
Contributor

@alextmeyer alextmeyer commented Oct 10, 2025

Used to internally generate and import all DD CCM setup per datacenter - PR in internal repos. Full context and verification in comments on related internal JIRA ticket

@alextmeyer alextmeyer requested review from a team as code owners October 10, 2025 20:48
@alextmeyer alextmeyer changed the title [scripts] Create helper script to automatically find and import any e… [scripts] Create helper script to automatically find and import any existing Datadog Cloud Cost resources into terraform Oct 10, 2025
Base automatically changed from congxie/fixTFImport to master October 14, 2025 15:02

4. **Import all resources** using Terraform's native import blocks:
```bash
terraform apply
Copy link
Contributor

Choose a reason for hiding this comment

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

should use import?

Copy link
Contributor Author

@alextmeyer alextmeyer Oct 14, 2025

Choose a reason for hiding this comment

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

The script generates import terraform blocks in a .tf file that are imported via "terraform apply" - this is different than the command line "terraform import <resource_type>.<resource_name> "

…xisting Datadog Cloud Cost resources into terraform
@alextmeyer alextmeyer force-pushed the alex.meyer/ccm-terraform-import-script branch from a2c6dd9 to bde70b1 Compare October 15, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants