We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bad2db commit e619d51Copy full SHA for e619d51
CHANGELOG.md
@@ -6,6 +6,9 @@
6
- Support for OCI Vulnerability Scanning Service
7
- Support for artifacts container image datasource
8
9
+### Fixed
10
+- Fixed `image_digest` field update behavior causing issues in `functions` resource
11
+
12
## 4.19.0 (March 24, 2021)
13
14
### Added
oci/functions_function_resource.go
@@ -282,7 +282,7 @@ func (s *FunctionsFunctionResourceCrud) Update() error {
282
request.Image = &tmp
283
}
284
285
- if imageDigest, ok := s.D.GetOkExists("image_digest"); ok {
+ if imageDigest, ok := s.D.GetOkExists("image_digest"); ok && s.D.HasChange("image_digest") {
286
tmp := imageDigest.(string)
287
request.ImageDigest = &tmp
288
0 commit comments