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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

resource/davinci_application_flow_policy: The created_date computed field is wiped after the resource is updated #257

Open
patrickcping opened this issue Jan 16, 2024 · 0 comments
Labels
status/needs-triage The issue/PR needs initial triage type/bug Something isn't working

Comments

@patrickcping
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

DaVinci Terraform provider Version

v0.2.1

Terraform Version

v1.6.6

Affected Resource(s)

  • davinci_application_flow_policy

Terraform Configuration Files

Step 1

# Copy-paste your DaVinci related Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

# Remember to replace any account/customer sensitive information in the configuration before submitting the issue

# NOTE: PLEASE DO NOT share DaVinci JSON exports publicly without encrypting files first.  DaVinci JSON exports can contain environment/tenant specific information, and may also include secrets.
resource "davinci_application_flow_policy" "my_flow_policy" {
  environment_id = pingone_environment.my_environment.id
  application_id = davinci_application.my_application.id

  name = "My application"

  policy_flow {
    flow_id    = davinci_flow.my_flow.id
    version_id = -1
    weight     = 100
  }
}

Step 2

# Copy-paste your DaVinci related Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

# Remember to replace any account/customer sensitive information in the configuration before submitting the issue

# NOTE: PLEASE DO NOT share DaVinci JSON exports publicly without encrypting files first.  DaVinci JSON exports can contain environment/tenant specific information, and may also include secrets.
resource "davinci_application_flow_policy" "my_flow_policy" {
  environment_id = pingone_environment.my_environment.id
  application_id = davinci_application.my_application.id

  name = "My application"

  policy_flow {
    flow_id    = davinci_flow.my_flow.id
    version_id = -1
    weight     = 50
  }

  policy_flow {
    flow_id    = davinci_flow.my_second_flow.id
    version_id = -1
    weight     = 50
  }
}

Debug Output

N/a

Panic Output

N/a

Expected Behavior

The created_date should have an epoc value after update.

Actual Behavior

The created_date value is 0.

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • GH-1234
@patrickcping patrickcping added type/bug Something isn't working status/needs-triage The issue/PR needs initial triage labels Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/needs-triage The issue/PR needs initial triage type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant