You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.
New resource request, for a docker_secret data source
Expected Behavior
My team uses an external automation to load Secrets into our Swarm. However, we're also trying to use the docker_service resource. That resource requires the secret_id which is an output of the docker_secret resource...but that resource does not support importing.
Expected behavior of the provider would be a docker_secret data source to match the docker_secret resource. The data source would be able to take the name of the secret and output its id.
Actual Behavior
We have to either not use Secrets in our Swarm when using this provider, or manually look up and then hardcode their ids into our docker_service definitions.
Steps to Reproduce
Attempt to define a docker_service resource that uses a secret that was not created by a docker_secret resource.
Important Factoids
I'd be happy to give a PR a shot if there is an interest from the maintainers!
The text was updated successfully, but these errors were encountered:
Terraform Version
0.12.29
Affected Resource(s)
New resource request, for a
docker_secret
data sourceExpected Behavior
My team uses an external automation to load Secrets into our Swarm. However, we're also trying to use the
docker_service
resource. That resource requires thesecret_id
which is an output of thedocker_secret
resource...but that resource does not support importing.Expected behavior of the provider would be a
docker_secret
data source to match thedocker_secret
resource. The data source would be able to take the name of the secret and output its id.Actual Behavior
We have to either not use Secrets in our Swarm when using this provider, or manually look up and then hardcode their ids into our
docker_service
definitions.Steps to Reproduce
Attempt to define a
docker_service
resource that uses a secret that was not created by adocker_secret
resource.Important Factoids
I'd be happy to give a PR a shot if there is an interest from the maintainers!
The text was updated successfully, but these errors were encountered: