Tencent Cloud Common Actions
Actions
mark-for-op
Tag resources for future action.
remove-tag
Delete Tag
rename-tag
Rename the tag information, because Tencent Cloud API does not support direct modification, you need to delete it first and then add it
start
Action to stop a running cvm instance
- example:
policies:
- name: cvm-start
resource: tencentcloud.cvm
actions:
- type: start
stop
Action to stop a running cvm instance
- example:
policies:
- name: cvm-marked-for-op-stop
resource: tencentcloud.cvm
filters:
- type: marked-for-op
op: stop
skew: 14
actions:
- type: stop
tag
Add tag information
terminate
Action to stop a running cvm instance
- example:
policies:
- name: cvm-marked-for-op-terminate
resource: tencentcloud.cvm
filters:
- type: marked-for-op
op: terminate
skew: 14
actions:
- type: terminate
webhook
Calls a webhook with optional parameters and body populated from JMESPath queries.
policies: - name: call-webhook resource: ec2 description: | Call webhook with list of resource groups actions: - type: webhook url: http://foo.com query-params: resource_name: resource.name policy_name: policy.name