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

feat: add bot datasource #63

Closed
wants to merge 3 commits into from
Closed

Conversation

parkedwards
Copy link
Contributor

@parkedwards parkedwards commented Oct 21, 2023

relates to #27

data "prefect_bot" "test" {
  id = "<service account ID>"
}

output "debug" {
  value = data.prefect_bot.test
}
terraform plan

# ...

Changes to Outputs:
  + debug = {
      + account_id        = "<account ID>"
      + account_role_name = "Member"
      + created           = "2023-10-20T03:40:54Z"
      + id                = "<service account ID>"
      + name              = "eddie-testfoolio"
      + updated           = "2023-10-20T23:20:38Z"
    }

@parkedwards parkedwards marked this pull request as ready for review October 21, 2023 02:12
@parkedwards parkedwards requested a review from a team as a code owner October 21, 2023 02:12
@@ -88,15 +88,6 @@ func (p *PrefectProvider) Configure(ctx context.Context, req provider.ConfigureR
)
}

if config.APIKey.IsUnknown() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is a duplicate block of the lines right above it - prob from a past copy pasta

@parkedwards
Copy link
Contributor Author

going to hold off on this, pending #49 (comment)

@parkedwards parkedwards deleted the feat/add-service-account-bot branch October 24, 2023 16:28
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.

2 participants