Comments (4)
Terraform automatically took care of these vanishing users before, but yes, now we will have to modify the logic to re-trigger. There is actually already some re-trigger logic in there which should als be revisited due to the new behaviour. I'll do a first scan of the code and report back possible solutions.
from terraform-provider-hsdp.
Instead of modifying the hsdp_iam_user
resource the idea in #131 is to define a new data source which allows us to find all unactivated users. We then use this list to dynamically generate hsdp_iam_activation_email
resources which represent the state of the user activation. Once a user has activated, the resource is automatically destroyed on the next run as the account will no longer show up in the data source.
Terraform simply needs to run every couple of hours, depending on the resend_every
setting
This is a generic mechanism as users accounts don't even need to be managed by Terraform perse.
As long as they match the filter criteria they will become eligible for email activation emails (and resends).
from terraform-provider-hsdp.
Looks like an even better idea. This way this can also be used outside user creation in case need be, and the can help a lot of existing use case where terraform was not used.
from terraform-provider-hsdp.
Implemented in v0.23.1
from terraform-provider-hsdp.
Related Issues (20)
- Request to allow "externalId" as an input field in the "hsdp_iam_org" resource in Terraform HOT 1
- DICOM: repository_organization_id is a query parameter
- IAM: add description for crossplane enabled resources
- Issue in creating IAM sub-org HOT 1
- IAM - Delete Applications API HOT 1
- Dicom: Repository Create call even if it already exists in state file HOT 1
- Role read when managing_org is gone HOT 6
- CDR: provider trying to force replace orgs in update runs in case purge_delete is enabled HOT 4
- IAM Group datasource: expose member details
- PKI: Add triggers when issuing certificate expires HOT 1
- getting "Role does not exist" while trying to detach certain role from some group while simultaneously removing the role
- getting 422 error while updating roles in group, second time passes
- The resource 'hsdp_iam_group_membership' is not removing user membership from IAM on destroy HOT 6
- "Failed to delete the resource as it has associated memberships in the system." when removing a user from a group HOT 1
- [Feature] Add DataSource for MDM Discovery Service Actions HOT 1
- Iron docker codes with authentication have timing issues HOT 1
- hsdp_connect_mdm_blob_data_contract resource is crashing in provider version 0.44.1
- Support backoff retry for 429 rate limit errors HOT 1
- Ability to run tasks on request
- Request to provide a feature to migrate users in bulk from one org to another
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-hsdp.