Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made chronicle retrohunt use id_from_name flattener instead of custom decoder + post_create #13537

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions mmv1/products/chronicle/Retrohunt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ import_format:
- projects/{{project}}/locations/{{location}}/instances/{{instance}}/rules/{{rule}}/retrohunts/{{retrohunt}}
exclude_delete: true
autogen_status: UmV0cm9odW50

custom_code:
decoder: 'templates/terraform/decoders/chronicle_retrohunt.go.tmpl'
post_create: 'templates/terraform/post_create/chronicle_retrohunt_id.go.tmpl'
examples:
- name: 'chronicle_retrohunt_basic'
primary_resource_id: example
Expand Down Expand Up @@ -77,6 +73,7 @@ parameters:
type: String
description: The retrohunt ID of the Retrohunt. A retrohunt is an execution of a Rule over a time range in the past.
default_from_api: true
custom_flatten: "templates/terraform/custom_flatten/id_from_name.tmpl"
properties:
- name: progressPercentage
type: Double
Expand Down
24 changes: 0 additions & 24 deletions mmv1/templates/terraform/decoders/chronicle_retrohunt.go.tmpl

This file was deleted.

This file was deleted.

Loading