Skip to content

Commit a7881b8

Browse files
Daniel-ByrneDaniel Byrne
andauthored
remove account_id from account section of effective settings datasource (IBM-Cloud#6523)
Signed-off-by: Daniel Byrne <[email protected]> Co-authored-by: Daniel Byrne <[email protected]>
1 parent 9564654 commit a7881b8

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

ibm/service/iamidentity/data_source_ibm_iam_effective_account_settings.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,6 @@ func DataSourceIBMIamEffectiveAccountSettings() *schema.Resource {
146146
Description: "Input body parameters for the Account Settings REST request.",
147147
Elem: &schema.Resource{
148148
Schema: map[string]*schema.Schema{
149-
"account_id": {
150-
Type: schema.TypeString,
151-
Computed: true,
152-
Description: "Unique ID of the account.",
153-
},
154149
"entity_tag": {
155150
Type: schema.TypeString,
156151
Computed: true,
@@ -541,7 +536,7 @@ func DataSourceIBMIamEffectiveAccountSettingsAccountSettingsEffectiveSectionToMa
541536

542537
func DataSourceIBMIamEffectiveAccountSettingsAccountSettingsAccountSectionToMap(model *iamidentityv1.AccountSettingsResponse) (map[string]interface{}, error) {
543538
modelMap := make(map[string]interface{})
544-
modelMap["account_id"] = *model.AccountID
539+
545540
modelMap["entity_tag"] = *model.EntityTag
546541
if model.History != nil {
547542
var history []map[string]interface{}

website/docs/d/iam_effective_account_settings.html.markdown

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ After your data source is created, you can read values from the following attrib
3535
* `id` - The unique identifier of the iam_effective_account_settings.
3636
* `account` - (List) Input body parameters for the Account Settings REST request.
3737
Nested schema for **account**:
38-
* `account_id` - (String) Unique ID of the account.
3938
* `allowed_ip_addresses` - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
4039
* `entity_tag` - (String) Version of the account settings.
4140
* `history` - (List) History of the Account Settings.

0 commit comments

Comments
 (0)