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

Terraform import for device based objects is not working (invalid request) #148

Open
rchrabas opened this issue Nov 8, 2023 · 0 comments

Comments

@rchrabas
Copy link

rchrabas commented Nov 8, 2023

Issuing the following two commands does not import state of the objects. (invalid request)
provider version = "1.4.2"

Physical interface

terraform import -input=false fmc_device_physical_interfaces.DeviceVar1PhysicalInterfaceVar1 005056b0-b67d-0ed3-0000-004295225174

│ Error: unable to read physical interface
│ 
│ getting physical interfaces: https://10.62.158.75/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/devices/devicerecords//physicalinterfaces/ - wrong status code: 404, error category:
│ FRAMEWORK, error severity: ERROR, error messages: [{Invalid Request}]

IPv4staticroute

terraform import -input=false fmc_staticIPv4_route.IPv4StaticRouteVar1 005056b0-b67d-0ed3-0000-004295224935

│ Error: unable to read route
│ 
│ getting ipv4 route2: https://10.62.158.75/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/devices/devicerecords//routing/ipv4staticroutes/005056b0-b67d-0ed3-0000-004295224935 - wrong
│ status code: 404, error category: FRAMEWORK, error severity: ERROR, error messages: [{Invalid Request}] - id: 005056b0-b67d-0ed3-0000-004295224935
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant