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

azuread_service_principal_password: add the end_date_relative property #53

Merged
merged 2 commits into from
Feb 28, 2019

Conversation

katbyte
Copy link
Collaborator

@katbyte katbyte commented Feb 27, 2019

fixes #45

@katbyte katbyte requested a review from a team February 28, 2019 01:21
@katbyte katbyte added this to the 0.3.0 milestone Feb 28, 2019
Copy link
Member

@mbfrahry mbfrahry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise LGTM 👍

* `end_date` - (Required) The End Date which the Password is valid until, formatted as a RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). Changing this field forces a new resource to be created.
* `end_date` - (Optional) The End Date which the Password is valid until, formatted as a RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). Changing this field forces a new resource to be created.

* `end_date_relative` - (Optional) A relative duration for which the Password is valid until, for example `240h` (10 days) or `2400h30m`. Changing this field forces a new resource to be created.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like days and hours may be a more realistic example?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unfortunately the built in duration parser doesn't support days :(

@katbyte katbyte merged commit 5200460 into master Feb 28, 2019
@katbyte katbyte modified the milestones: 0.3.0, 0.2.0 Feb 28, 2019
@katbyte katbyte deleted the sppass/relative_end_date branch February 28, 2019 22:21
katbyte added a commit that referenced this pull request Feb 28, 2019
@ghost
Copy link

ghost commented Mar 12, 2019

This has been released in version 0.2.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azuread" {
	version = "~> 0.2.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Mar 31, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Better handling of azuread_service_principal_password's end_date?
3 participants