-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
Description
Hello
I use MDS R81.20 JHF 89. terraform provider 2.8.1
I notice 2 problems with dynamic objects:
- If I create a LSM gateway without dynamics objects with terraform. When I manually add a dynamic object in the GUI and i perform terraform apply/publish again. It doesn't delete the dynamic object.
It seems to detect the change however ( it shoud remove epeHorloges :
# checkpoint_management_lsm_gateway.test-bp38169ybeecf01 will be updated in-place
~ resource "checkpoint_management_lsm_gateway" "test-bp38169ybeecf01" {
id = "0a4af741-c93b-4327-8126-645c2e2f06de"
name = "test-bp38169ybeecf01"
~ provisioning_settings = {
- "provisioning_profile" = "No Provisioning Profile" -> null
}
tags = []
- version = "R81.10" -> null
# (10 unchanged attributes hidden)
- dynamic_objects {
- name = "epeHorloges" -> null
- uid = "4a71265c-b67c-4f99-bdcf-038a9a826d26" -> null
# (1 unchanged attribute hidden)
- resolved_ip_addresses {
- ipv4_address = "192.5.3.1" -> null
}
}
# (1 unchanged block hidden)
}
- If I create a LSM gateway with one dynamic object with terraform. If I want to add an other dynamic object, it complains about the first one already existing.
╷
│ Error: failed to execute API call
│ Status: 400 Bad Request
│ Code: generic_err_invalid_parameter
│ Message: Invalid parameter for [Dynamic object {} is already used.]. epeHorloges
│
│ with checkpoint_management_lsm_gateway.test-bp38169ybeecf01,
│ on CREA-38169-bp38169ybeecf01.tf line 1, in resource "checkpoint_management_lsm_gateway" "test-bp38169yb eecf01":
│ 1: resource "checkpoint_management_lsm_gateway" "test-bp38169ybeecf01" {
│
I can provide terraform files if needed