You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/plugin/framework/acctests.mdx
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,12 @@
1
1
---
2
-
page_title: 'Plugin Development - Framework: Acceptance Tests'
2
+
page_title: Acceptance tests
3
3
description: >-
4
-
How to write acceptance tests for providers built on the framework. Acceptance
5
-
tests imitate applying configuration files.
4
+
Learn how to write acceptance tests for providers built on the framework.
5
+
Acceptance tests help ensure your provider works as expected by imitating
6
+
Terraform operations.
6
7
---
7
8
8
-
# Acceptance Tests
9
+
# Acceptance tests
9
10
10
11
Implement provider resource and data source acceptance tests with the [terraform-plugin-testing module](/terraform/plugin/testing). These tests are designed to execute Terraform commands against real Terraform configurations, simulating practitioner experiences with creating, refreshing, updating, and deleting infrastructure.
Copy file name to clipboardExpand all lines: website/docs/plugin/framework/data-sources/configure.mdx
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,11 @@
1
1
---
2
-
page_title: 'Plugin Development - Framework: Configure Data Sources'
2
+
page_title: Configure data sources
3
3
description: >-
4
-
How to configure data sources with provider data or clients in the provider development framework.
4
+
Learn how to configure data sources with provider data or clients in the
5
+
Terraform plugin framework.
5
6
---
6
7
7
-
# Configure Data Sources
8
+
# Configure data sources
8
9
9
10
[Data sources](/terraform/plugin/framework/data-sources) may require provider-level data or remote system clients to operate correctly. The framework supports the ability to configure this data and/or clients once within the provider, then pass that information to data sources by adding the `Configure` method.
Copy file name to clipboardExpand all lines: website/docs/plugin/framework/data-sources/index.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
-
page_title: 'Plugin Development - Framework: Data Sources'
2
+
page_title: Data sources
3
3
description: >-
4
-
How to build data sources in the provider development framework. Data sources
5
-
allow Terraform to reference external data.
4
+
Data sources allow Terraform to reference external data. Learn how the
5
+
framework can help you implement data sources.
6
6
---
7
7
8
-
# Data Sources
8
+
# Data sources
9
9
10
10
[Data sources](/terraform/language/data-sources) are an abstraction that allow Terraform to reference external data. Unlike [managed resources](/terraform/language/resources), Terraform does not manage the lifecycle of the resource or data. Data sources are intended to have no side-effects.
0 commit comments