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

test: add acceptance tests for the import of an endpoint #33

Draft
wants to merge 3 commits into
base: feat/INT-4355/schema
Choose a base branch
from

Conversation

lriberon
Copy link
Contributor

@lriberon lriberon commented Jan 8, 2025

Description

The terraform import command has been tested with an existing endpoint resource and the Acceptation test has been created for it.

How to test?

  1. Perform a curl request to fetch the list of existing endpoints of your account
  2. Go to the examples directory
  3. Run the terraform init command
  4. Run the import command with one of the IDs of your existing endpoints: terraform import datadome_endpoint.new_endpoint [REPLACE_BY_YOUR_ID]. You should see the Import successful! output.
  5. Run the terraform show command to verify that the endpoint has been correctly imported.

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

Successfully merging this pull request may close these issues.

1 participant