-
Notifications
You must be signed in to change notification settings - Fork 431
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: Mark V1 ready preview features part 2 #3225
Conversation
Integration tests cancelled for 47defdeb83049eaea27b35d6bcded9b434df065f |
47defde
to
4c29c8c
Compare
Integration tests cancelled for 4c29c8c306cfa64551d1993e3ed1f320f42b5eea |
Integration tests cancelled for 224060f867b1d072a760d6bb541b887488e57ec0 |
@@ -30,7 +31,7 @@ var systemGetAWSSNSIAMPolicySchema = map[string]*schema.Schema{ | |||
|
|||
func SystemGetAWSSNSIAMPolicy() *schema.Resource { | |||
return &schema.Resource{ | |||
ReadContext: TrackingReadWrapper(datasources.SystemGetAwsSnsIamPolicy, ReadSystemGetAWSSNSIAMPolicy), | |||
ReadContext: PreviewFeatureReadWrapper(string(previewfeatures.SystemGetAWSSNSIAMPolicyDatasource), TrackingReadWrapper(datasources.SystemGetAwsSnsIamPolicy, ReadSystemGetAWSSNSIAMPolicy)), |
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.
nit: SystemGetAWSSNSIAMPolicyDatasource would be nicer as SystemGetAwsSnsIamPolicyDatasource - I know that golang prefers uppercased abbreviations but in such cases it's just wrong and unreadable - in our code, In multiple places we do a first-letter-only uppercasing
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.
That's true, I copied it from somewhere else and overlooked it. This can be probably changed during the data source rework, for consistency.
4562d1a
to
17a7d48
Compare
Integration tests failure for 4562d1a27ab8a05053add7291d9c979e0c2b16a6 |
Integration tests failure for 17a7d484af948517405d237c8426ed586055e5e4 |
Test Plan
References