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

Module can't unjoin from domain #585

Open
1 task done
apenadiazApk opened this issue Feb 10, 2025 · 0 comments
Open
1 task done

Module can't unjoin from domain #585

apenadiazApk opened this issue Feb 10, 2025 · 0 comments

Comments

@apenadiazApk
Copy link

Description

The module works fine to join an RDS instance into Self Active Directory but if for any reason we need to do unjoin to turning back again as stand-alone rds sql server missing parameters to send to api

  • ✋ I have searched the open/closed issues and my issue is not listed.

⚠️ Note

Before you submit an issue, please perform the following first:

  1. Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
  2. Re-initialize the project root to pull down modules: terraform init
  3. Re-attempt your terraform plan or apply and check if the issue still persists

Versions

  • Module version [6.10.0]:

  • Terraform version:
    1.5.2

  • Provider version(s):
    1.5.2

Reproduction Code [Required]

...
domain_auth_secret_arn = "arn....."
domain_dns_ips = "dns.ip.dc.1, dns.ip.dc2"
domain_fqdn = "corp.local"
domain_ou = "OU=RDSSQLServer,DC=corp,DC=local"
....

Steps to reproduce the behavior:

No workspaces

No local cache

add the 4 parameters to do the join into self ad
remove it same parameters to do unjoin

Expected behavior

Unjoin from AD

Actual behavior

for example when you join you can see in the plan the 4 parameters above and the process complete.
when you do unjoin from the domain, only see 3, missing domain_fqdn to complete the combination to remove it
in case to reverse and unjoin get an error message

Terminal Output Screenshot(s)

api error InvalidParameterCombination: Ensure all of the self-managed Active Directory parameters have been passed in.

Additional context

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