Releases: port-labs/terraform-provider-port-labs
Releases · port-labs/terraform-provider-port-labs
v2.0.7
What's Changed
- Add option to not create catalog page on blueprint creation by @Tankilevitch in #155
- [CI] Upgrade goreleaser version and fix deprecated methods by @Tankilevitch in #156
- Bump
goreleaser.yaml
to version 2 and change deprecated variables by @Tankilevitch in #157 - Add
Search
data source by @Tankilevitch in #153
Full Changelog: v2.0.5...v2.0.7
v2.0.6
What's Changed
New Features
- Add option to not create catalog page on blueprint creation by @Tankilevitch in #155
- Add
Search
data source by @Tankilevitch in #153
Bug Fixes
- [CI] Upgrade goreleaser version and fix deprecated methods by @Tankilevitch in #156
- Bump
goreleaser.yaml
to version 2 and change deprecated variables by @Tankilevitch in #157
Full Changelog: v2.0.5...v2.0.6
v2.0.5
v2.0.4
What's Changed
- feat: added condition for self_service trigger by @danielsinai in #154
Full Changelog: v2.0.3...v2.0.4
v2.0.3
What's Changed
- Upgrade entire go package to v2 by @erikzaadi in #151
Full Changelog: v2.0.2...v2.0.3
v2.0.2
What's Changed
- Update action and blueprints permissions documentation by @Tankilevitch in #146
- Remove resource from state when resource doesn't exist by @erikzaadi in #148
- fix: bug terraform cannot create entity without a relation even though the relation is not required by @talru1123 in #150
- Remove sort logic from blueprint permissions, fix examples and docs by @erikzaadi in #149
New Contributors
- @talru1123 made their first contribution in #150
Full Changelog: v2.0.1...v2.0.2
v2.0.1
What's Changed
- Add description to the page component by @erikzaadi in #143
Full Changelog: v2.0.0...v2.0.1
v2.0.0
What's Changed
Breaking changes
Changed the action resource to match the new action structure of Port's api
The change in the resource:
- There is a new
self_service_trigger
attribute which is an object detailing all the values the action needs to trigger. - The
trigger
is renamed to operation and it has moved into theself_service_trigger
object - The
blueprint
attribute is renamed toblueprint_identifier
and it has moved into the self_service_trigger object (and its no longer a requirement) - The
user_properties
,order_properties
andrequired_jq_query
attributes have all moved from the root into theself_service_trigger
object - The
*_method
attributes now support controlling the payload via jq. The new value should be the json from theinvocationMethod
variable as you can find it in the UI by editing an action's json. The specific attribute name would change between different invocation methods.
You can see the full specification for the new action resource the terraform docs.
Documentation for the new action structure can be found in Port docs.
For further help you can contact the Port team on our slack community.
For example, the following action as defined in version v1.x.x
:
resource "port_action" "myAction" {
title = "My Action"
blueprint = port_blueprint.my_blueprint.identifier
identifier = "myAction"
trigger = "CREATE"
required_approval = false
gitlab_method = {
group_name = "myGroup"
project_name = "myProj"
}
user_properties = {
string_props = {
myString = {
title = "Prop"
}
}
number_props = {
myNumber = {
"title" = "Prop"
}
}
}
}
Would be defined as follows in version v2.x.x
resource "port_action" "myAction" {
title = "My Action"
identifier = "myAction"
self_service_trigger = {
operation = "CREATE"
blueprint_identifier = port_blueprint.my_blueprint.identifier
required_approval = false
user_properties = {
string_props = {
myString = {
title = "Prop"
}
}
number_props = {
myNumber = {
"title" = "Prop"
}
}
}
}
gitlab_method = {
group_name = "myGroup"
project_name = "myProj"
workflowInputs = jsonencode({
runId : "{{ .run.id }}"
myString : "{{ .inputs.myString }}"
myNumber : "{{ .inputs.` }}"
})
}
}
Contributed by @talsabagport in #140
Full Changelog: v1.11.1...v2.0.0
v1.11.1
What's Changed
- Support Blueprint Permissions by @erikzaadi in #139
New Contributors
- @erikzaadi made their first contribution in #139
Full Changelog: v1.11.0...v1.11.1
v1.11.0
Merge pull request #98 from port-labs/PORT-5367-update-iac-providers-…