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

Add support for project user_on_demand_period attribute #76

Merged
merged 4 commits into from
Sep 15, 2022

Conversation

stevenelleman-okta
Copy link
Contributor

No description provided.

Copy link
Contributor

@waltergoulet-okta waltergoulet-okta left a comment

Choose a reason for hiding this comment

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

LGTM

@stevenelleman-okta stevenelleman-okta force-pushed the se/resource/project/add-on-demand-user-ttl branch from bbcf39b to b7981af Compare September 14, 2022 19:42
@@ -147,6 +152,7 @@ func resourceProjectCreate(ctx context.Context, d *schema.ResourceData, m interf
SSHSessionRecording: getBoolPtr(attributes.SSHSessionRecording, d, false),
GatewaySelector: getStringPtr(attributes.GatewaySelector, d, false),
SSHCertificateType: getStringPtr(attributes.SSHCertificateType, d, false),
UserOnDemandPeriod: getIntPtr(attributes.UserOnDemandPeriod, d, false),
Copy link
Contributor

@sachinsaxena-okta sachinsaxena-okta Sep 14, 2022

Choose a reason for hiding this comment

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

Is UserOnDemandPeriod only need to be passed if create_server_users flag is set to true - slack link. I am not sure on this.

Copy link
Contributor Author

@stevenelleman-okta stevenelleman-okta Sep 15, 2022

Choose a reason for hiding this comment

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

I believe they're independent. Looking throughout the code UserOnDemandPeriod and CreateServerUser are applied separately.

@stevenelleman-okta stevenelleman-okta merged commit 03ee142 into master Sep 15, 2022
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

Successfully merging this pull request may close these issues.

3 participants