-
Notifications
You must be signed in to change notification settings - Fork 43
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
Data source juju_application #630
base: main
Are you sure you want to change the base?
Conversation
1 similar comment
61af9f7
to
cba4340
Compare
cba4340
to
d838393
Compare
ed4b00c
to
a979d62
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple minor comments/documentation adjustments requested. Otherwise LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe docs/index.md also needs to be adjusted to include the application data source.
a979d62
to
9c24683
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused about to why this is new data source is useful if it no longer contains the trust and units value?
9c24683
to
1a5985c
Compare
1a5985c
to
20a5e8d
Compare
20a5e8d
to
b254b6a
Compare
Description: "A data source that represents a single Juju application deployment from a charm.", | ||
Attributes: map[string]schema.Attribute{ | ||
"name": schema.StringAttribute{ | ||
Description: "Name of the application deployment.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: "Name of the application."
return | ||
} | ||
|
||
//SubsystemTrace(subCtx, "datasource-model", "hello, world", map[string]interface{}{"foo": 123}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove commented out lines
Description
Creation of a
juju_application
data sourceType of change
Environment
Juju controller version:
3.5+
Terraform version:
1.8.2+
QA steps
Manual QA steps should be done to test this PR.