Comments (13)
It'd be good to provision standard and/or admin accounts. Great for automated employee onboarding/offboarding.
from terraform-provider-datadog.
@Eightyplus I've a working branch but the change will be breaking so I'm just waiting for the right moment to draft a 2.0. I can submit a PR with my changes as soon as we fix #117 that for now has the highest priority.
from terraform-provider-datadog.
Just to confirm I'm going to schedule some work to implement this, will update the issue accordingly.
from terraform-provider-datadog.
What is the status of this task?
from terraform-provider-datadog.
Would love this as well, then I dont have to login after running TF to downgrade them
from terraform-provider-datadog.
Currently working on this, the hard part is keeping backward compatibility with the existing is_admin
argument.
from terraform-provider-datadog.
@masci I wouldn't worry about it. Module versions can be easily locked. Personally, I always lock versions of all dependencies to avoid future compatibility problems - is it in a real programming language like Ruby, o "just" Terraform.
from terraform-provider-datadog.
@Nowaker thanks for the advice. I'd have loved to deprecate is_admin
in the upcoming minor and get rid of it on a subsequent release but if this becomes too hacky I'll just remove it.
from terraform-provider-datadog.
Update: finally had time to work on this. It turned out we can't really support both is_admin
and access_role
at the same time, so I'm going to deprecate is_admin
for now and remove it completely with a major release, where access_role
will be introduced.
from terraform-provider-datadog.
Hi @masci, have you looked into using ConflictsWith
like is done for the downtime resource?
This would probably help introducing access_role
before removing is_admin
.
Right now, upgrading to 1.2.0 produces a lot of deprecation warnings for us which cannot be resolved.
from terraform-provider-datadog.
Any updates?
from terraform-provider-datadog.
For anyone who lands here, PR https://github.com/terraform-providers/terraform-provider-datadog/pull/155 implements access_role. This was merged and available from release 1.7 (current is 1.8).
I kept having issues with Terraform trying to set is_admin
from true to false so had work around it with a lifecycle:
lifecycle {
ignore_changes = [
"is_admin",
]
}
from terraform-provider-datadog.
So this has been implemented in #155 and documented in #178, therefore I think it's safe to close this. Thanks all who participated in the discussion!
from terraform-provider-datadog.
Related Issues (20)
- Request for Default_Tags parameter for Datadog Terraform provider HOT 1
- Add support for "Account Tags" to datadog_integration_aws resource HOT 1
- Provider 3.39.0 doesn't support `extended_resource_collection_enabled` attribute, but documentation says it does HOT 3
- The updated resource for datadog_csm_threats_agent_rule results in a 403 Forbidden error of the terraform plan
- Refresh=False Still Checking Metric Tag Configuration State
- Allow for passing Value to synthetic_test.config_variable
- datadog_logs_archive / terraform plan / Error: object contains unparsed element: map[bucket:datadog-rehydrate-tf integration:map[] path:/test type:s3] HOT 1
- Reference Tables Resource Provider
- Cannot update Monitor Downtime HOT 1
- Add support for order by group on dashboard query_table_definition
- Provider has incorrect checksum when downloaded from GitHub (darwin/arm64) HOT 1
- More flexibility in writing recurring_schedule.recurrence.duration
- Provider attempting to remove query metric
- `widget.timeseries_definition.request.query.slo_query.slo_query_type` doesn't support `time_slice` option
- Error for inconsistent result after apply for Datadog Azure Integration HOT 2
- Support for Team Notifications channel
- Error: Provider produced inconsistent result after apply HOT 1
- Support for Schema v3 in datadog_service_definition_yaml
- Support for `monitor_options.renotify_occurrences` in resource `datadog_synthetics_test`
- Provider produced inconsistent final plan - Replacing `-` with `_` in names of `datadog_metric_metadata.metric_description` HOT 1
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-datadog.